0

我正在使用angular、angular-animate、angular-route v.1.5.0、ui-grid v. 3.0.7 ocLazyLoad v. 1.0.9。

我收到此错误:

TypeError: a is not a function
at d (angular-animate.js:2141)
at angular-animate.js:2131
at h (angular-animate.js:3174)
at Array.d.push.fn (angular-animate.js:3020)
at c (angular-animate.js:423)
at b (angular-animate.js:393)
at angular-animate.js:3042
at m.$digest (angular.js:16714)
at angular.js:16859
at e (angular.js:5804)

并且每个页面都在另一个页面下加载

图片

有什么建议吗?谢谢!

编辑

TypeError: $$animateJs is not a function
at prepareAnimation (angular-animate.js:2141)
at initDriverFn (angular-animate.js:2131)
at invokeFirstDriver (angular-animate.js:3174)
at Array.triggerAnimationStart (angular-animate.js:3020)
at nextTick (angular-animate.js:423)
at scheduler (angular-animate.js:393)
at angular-animate.js:3042
at Scope.$digest (angular.js:16714)
at angular.js:16859
at completeOutstandingRequest (angular.js:5804)
4

1 回答 1

0

我遇到了同样的问题,只需将ui-grid.js 包含在您的身体中(NOT WITH OCLAZYLOAD)

于 2016-03-02T09:32:45.167 回答