Todd Motto

Todd Motto

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

Apr 12, 2014

Understanding the “this” keyword in JavaScript

It’s probably safe to say that the this keyword is one of the most misunderstood...

Mar 31, 2014

Writing a standalone Ajax/XHR JavaScript micro-library

Whether you’re working with websites or applications, you’re bound to have faced a task dealing...

Feb 23, 2014

Ditch the [].forEach.call(NodeList) hack

I’ve got to admit before we go any further, I used to use this technique....

Feb 22, 2014

Stratos.js simplifying Object manipulation

JavaScript Objects are usually the driving force behind applications I develop, specifically JSON which gets...

Jan 29, 2014

Mastering the Module Pattern

I’m a massive fan of JavaScript’s Module Pattern and I’d like to share some use...

Jan 19, 2014

Avoiding anonymous JavaScript functions

Anonymous functions, the art of the callback. I’m going to propose that you never write...

Dec 29, 2013

Everything you wanted to know about JavaScript scope

The JavaScript language has a few concepts of “scope”, none of which are straightforward or...

Dec 17, 2013

Stop toggling classes with JS, use behaviour driven DOM manipulation with data-states

Using a class to manipulate the DOM? What about this idea. Using classes have many...

Dec 9, 2013

A comprehensive dive into NodeLists, Arrays, converting NodeLists and understanding the DOM

Manipulating the DOM is JavaScript’s role when developing websites and applications, and we do this...