Support for AngularJS 1.2