Upgraded to Angular 1.0