Todd Motto

Todd Motto

Owner, Ultimate Angular
Oct 24, 2015

Superfast Angular: use ngModelOptions to limit $digest cycles

The $digest cycle is the critical entity for keeping our Angular applications fast: the faster...

Oct 18, 2015

Moving from ngModel.$parsers /ng-if to ngModel.$validators /ngMessages

Implementing custom Model validation is typically done by extending the built-in $error Object bound to...

Jul 21, 2015

No $scope soup, bindToController in AngularJS

Namespacing, code consistency and proper design patterns really matter in software engineering, and Angular addresses...

Jun 24, 2015

Being a healthy software engineer

This post is a little off topic today, but after a few tweets of mine...

Apr 20, 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...

Apr 17, 2015

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...

Apr 14, 2015

ES6 arrow functions, syntax and lexical scoping

ES2015 (ES6) introduces a really nice feature that punches above its weight in terms of...

Dec 12, 2014

AngularJS one-time binding syntax

Angular 1.3 shipped with an awesome new performance enhancing feature - one-time binding. What does...

Dec 1, 2014

Polyfills suck, use a featurefill instead

I’m going to dub this a featurefill as the post title suggests, but it’s more...

Jul 23, 2014

Opinionated AngularJS styleguide for teams

After reading Google’s AngularJS guidelines, I felt they were a little too incomplete and also...

Jul 17, 2014

Replacing switch statements with Object literals

In many programming languages, the switch statement exists - but should it any longer? If...