Updated test to AngularJS 1.2.0