Updated tests to AngularJS 1.2.0