An Angular JS lesson. Source: O'Reilly's AngularJS book