Angular 1.2?
Fixes to accomodate angular 1.2