Migrate to Angular 1.2