Using the AngularJS example