Error: [$injector:strictdi] function($scope) is not using explicit annotation and cannot be invoked in strict mode
请问这个报错是为什么呢?
我在 uib-modal 中使用了 ng-img-crop
Error: [$injector:strictdi] function($scope) is not using explicit annotation and cannot be invoked in strict mode
请问这个报错是为什么呢?
我在 uib-modal 中使用了 ng-img-crop
13 回答12.8k 阅读
7 回答2k 阅读
3 回答1.1k 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
6 回答918 阅读✓ 已解决
6 回答1.1k 阅读
2 回答1.3k 阅读✓ 已解决
因为你使用了StrictDi模式,像下面的写法
要改成这样