Blog
Tutorials, guides and expert articles.
Minimal Angular module syntax approach using an IIFE
Since day one using Angular, I’ve always debated on how I should be extending modules. This post talks through some common Angular patterns, from v...

Todd Motto
Jun 17, 2014
Understanding Angulars $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, in which you’d publish an event and subscr...

Todd Motto
Jun 11, 2014
Join our email community
Receive top developer tips, motivational emails, discounts and be the first to know about new releases.
Rethinking AngularJS Controllers
Note: please don’t use this approach anymore, use Components and one-way dataflow

Todd Motto
Jun 9, 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 to what this self invoked function setup gives us.

Todd Motto
Jun 3, 2014
Understanding JavaScript types and reliable type checking
Type checking in JavaScript can often be a pain, especially for new JS developers. I want to show you how to reliably check types in JS and underst...

Todd Motto
Jun 2, 2014

Everything about custom filters in AngularJS
Angular filters are one of the toughest concepts to work with. They’re a little misunderstood and it actually hurt my brain whilst learning them. F...

Todd Motto
May 28, 2014

Digging into Angulars Controller as syntax
AngularJS Controllers have recently gone under some changes (version 1.2 to be precise). What this means for scopes, Controllers and Angular develo...

Todd Motto
May 26, 2014

Simple forEach implementation for Objects NodeLists Arrays
Looping Objects is easy. Looping Arrays is also easy. Looping NodeLists is easy. They can be a little repetitive though and often take time to cons...

Todd Motto
May 14, 2014

Understanding the 'this' keyword in JavaScript
It’s probably safe to say that the this keyword is one of the most misunderstood parts of JavaScript. Admittedly, I used to throw the this keyword ...

Todd Motto
Apr 12, 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 with Ajax requests, whether it be getting a new doc...

Todd Motto
Mar 31, 2014

Ditch the .forEach.call NodeList hack
I’ve got to admit before we go any further, I used to use this technique. It looked edgy and cool and I was doing ECMA5 hacks, but after a while an...

Todd Motto
Feb 23, 2014