Updated to AngularJS 1.3