Fix AngularJS 1.2 issue again