resolves angular/angular.js/#8876
Merge pull request #2 from bZichett/AngularJS-1.3

resolves angular/angular.js/#8876

Breaks backwards compatibility with Angular 1.2.*