Angular (1.5.0) ng-router 不工作
Angular (1.5.0) ng-router not working
我正在使用 angular,angular-animate,angular-route v.1.5.0 , ui-网格 v.3.0.7
ocLazyLoad 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)
我遇到了同样的问题,只需将 ui-grid.js 添加到您的 body (不包含 OCLAZYLOAD).
我正在使用 angular,angular-animate,angular-route v.1.5.0 , ui-网格 v.3.0.7 ocLazyLoad 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)
我遇到了同样的问题,只需将 ui-grid.js 添加到您的 body (不包含 OCLAZYLOAD).