Todd Motto

Todd Motto

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

May 26, 2014

Digging into Angular’s “Controller as” syntax

AngularJS Controllers have recently gone under some changes (version 1.2 to be precise). What this...

May 14, 2014

Simple forEach implementation for Objects/NodeLists/Arrays

Looping Objects is easy. Looping Arrays is also easy. Looping NodeLists is easy. They can...