Blog
Tutorials, guides and expert articles.
Being a healthy software engineer
This post is a little off topic today, but after a few tweets of mine a few people have suggested a write up on what changes I’ve made and how they...

Todd Motto
Jun 24, 2015
A better way to scope angular.extend no more vm this
The evolution of Angular Controllers has changed over the last year. As of now, most of us are working with the most recent addition to “Controller...

Todd Motto
Apr 20, 2015
Join our email community
Developer tips and tricks, motivation, discounts and new course launches.
Killing it with Angular Directives Structure and MVVM
In this post I’m going to outline my approach on writing Directives for Angular 1.x releases. There’s a lot of confusion around how and why and whe...

Todd Motto
Apr 17, 2015
ES6 arrow functions, syntax and lexical scoping
ES2015 (ES6) introduces a really nice feature that punches above its weight in terms of simplicity to integrate versus time saving and feature outp...

Todd Motto
Apr 14, 2015
AngularJS one-time binding syntax
Angular 1.3 shipped with an awesome new performance enhancing feature - one-time binding. What does this mean for us Angular developers and the per...

Todd Motto
Dec 12, 2014

Polyfills suck use a featurefill instead
I’m going to dub this a featurefill as the post title suggests, but it’s more a feature-detect-closure-binding-smart-polyfill-api-checker-reusable-...

Todd Motto
Dec 1, 2014

Opinionated AngularJS styleguide for teams
After reading Google’s AngularJS guidelines, I felt they were a little too incomplete and also guided towards using the Closure library. They also ...

Todd Motto
Jul 23, 2014

Replacing switch statements with Object literals
In many programming languages, the switch statement exists - but should it any longer? If you’re a JavaScript programmer, you’re often jumping in a...

Todd Motto
Jul 17, 2014

Angulars dependency injection annotation process
For those familiar with Angular’s dependency injection (DI), this post will dive into some of the “under the hood” methods that power the DI proces...

Todd Motto
Jul 11, 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 pick up Web Components and actually build something. Since l...

Todd Motto
Jul 2, 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 be as easy as myObject.hasOwnProperty('prop'); - but no, there...

Todd Motto
Jun 30, 2014