Update to new AngularJS