我正在使用角度,角度动画,角度路线 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)
答案 0 :(得分:0)
我有同样的问题,只需在你的身体(不包括OCLAZYLOAD)中包含 ui-grid.js 。