0

I have replaced angular 1.3.9 to angular 1.6.5 and I got this console error.

Uncaught Error: [$injector:unpr] Unknown provider: $$asyncCallbackProvider <- $$asyncCallback <- $animate <- compile

I have changed nothing on my main angular code. All services and controllers are same. Any kind of hint will be appreciate.

artgb
  • 3,177
  • 6
  • 19
  • 36

2 Answers2

0

If services are injected into your controller, all services should be in array, check it for all.

May this help.

Kunvar Singh
  • 1,779
  • 2
  • 13
  • 21
  • What does all services should be in array mean? can you describe more detail? – artgb Aug 29 '17 at 08:28
  • angular.module('app').factory('CTRLname', ['common', 'entityManagerFactory', 'systemService', 'imageService', dataContext]); function dataContext(common, entityManagerFactory, systemService, imageService) { }); – Kunvar Singh Aug 29 '17 at 08:33
0

As pointed out by Paul Weber on this thread right here, you need to check if the version of the angular-animate you are using matches the new version of AngularJS you just updated (1.6.5).

Bruno Poeta
  • 521
  • 2
  • 9