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
10 回答11.7k 阅读
2 回答3.2k 阅读✓ 已解决
4 回答2.2k 阅读✓ 已解决
3 回答1.2k 阅读✓ 已解决
3 回答839 阅读✓ 已解决
3 回答1k 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
因为你使用了StrictDi模式,像下面的写法
要改成这样