Todd Motto

Todd Motto

Owner, Ultimate Angular
Dec 12, 2014

AngularJS one-time binding syntax

Angular 1.3 shipped with an awesome new performance enhancing feature - one-time binding. What does...

Dec 1, 2014

Polyfills suck, use a featurefill instead

I’m going to dub this a featurefill as the post title suggests, but it’s more...

Jul 23, 2014

Opinionated AngularJS styleguide for teams

After reading Google’s AngularJS guidelines, I felt they were a little too incomplete and also...

Jul 17, 2014

Replacing switch statements with Object literals

In many programming languages, the switch statement exists - but should it any longer? If...

Jul 11, 2014

Angular’s dependency injection annotation process

For those familiar with Angular’s dependency injection (DI), this post will dive into some of...

Jul 2, 2014

Web Components and concepts, ShadowDOM, imports, templates, custom elements

Web Components, the future of the web, inspired from attending Google I/O I decided to...

Jun 30, 2014

Methods to determine if an Object has a given property

There are multiple ways to detect whether an Object has a property. You’d think it’d...

Jun 17, 2014

Minimal Angular module/syntax approach using an IIFE

Since day one using Angular, I’ve always debated on how I should be extending modules....

Jun 11, 2014

Understanding Angular’s $scope and $rootScope event system $emit, $broadcast and $on

Angular’s $emit, $broadcast and $on fall under the common “publish/subscribe” design pattern, or can do,...

Jun 9, 2014

Rethinking AngularJS Controllers

Note: please don’t use this approach anymore, use Components and one-way dataflow Last month Jonathan...

Jun 3, 2014

What (function (window, document, undefined) {})(window, document); really means

In this post, we’re going to explore what the title suggests, and offer explanations as...