Modified priority to fix render bug in Angular 1.2.