The updateTranslations() function inside the valdrMessage directive uses the $translate service to get some translations. This call return a Promise which can be either resolved or rejected. Obviously the function just cares about the successful result, which is handled, however the rejection is not handled.
The updateTranslations() function inside the valdrMessage directive uses the $translate service to get some translations. This call return a Promise which can be either resolved or rejected. Obviously the function just cares about the successful result, which is handled, however the rejection is not handled.
This is now being thrown as an error in Angular 1.6+ by default (see https://code.angularjs.org/1.6.4/docs/api/ng/provider/$qProvider)