Todd Motto

Todd Motto

Owner, Ultimate Angular
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...

Jun 2, 2014

Understanding JavaScript types and reliable type checking

Type checking in JavaScript can often be a pain, especially for new JS developers. I...

May 28, 2014

Everything about custom filters in AngularJS

Angular filters are one of the toughest concepts to work with. They’re a little misunderstood...