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
1 回答855 阅读✓ 已解决
1 回答1.1k 阅读
2 回答773 阅读
2 回答616 阅读
2 回答607 阅读
1 回答677 阅读
2 回答524 阅读
因为你使用了StrictDi模式,像下面的写法
要改成这样