updates to Angular 1.3