Upgraded to AngularJS 1.2