Rethinking AngularJS Controllers

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

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

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

Understanding JavaScript types and reliable type checking

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

Everything about custom filters in AngularJS

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

Digging into Angular’s “Controller as” syntax

AngularJS Controllers have recently gone under some changes (version 1.2...

Simple forEach implementation for Objects/NodeLists/Arrays

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

Understanding the “this” keyword in JavaScript

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

Writing a standalone Ajax/XHR JavaScript micro-library

Whether you’re working with websites or applications, you’re bound to ha...

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

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

Stratos.js simplifying Object manipulation

JavaScript Objects are usually the driving force behind applications I d...

Mastering the Module Pattern

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

Avoiding anonymous JavaScript functions

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