$ocLazyLoad懒加载的时候 加载ui-grid报错 $$animateJS is not a function
来源:互联网 发布:数据分析师 挂靠 编辑:程序博客网 时间:2024/06/08 11:16
懒加载ui-grid 刷新页面之后 就会报错$$animateJS is not a function
去stackoverflow上查了一个小时候;然后测试成功:
.state('monitor.monitor_our', { url: "/monitor_our/{monitorKind:1}", templateUrl: "app/monitor_our/monitor_our.html", controller: "MonitorOurController as ctrl" , resolve : { deps : ['$$animateJs','$ocLazyLoad', function ($$animateJs, $ocLazyLoad) { return $ocLazyLoad.load([ { files: ['app/echart_custom/echarts.min.js','../../bower_components/angular-ui-grid/ui-grid.min.js'] } ]) } ] }})需要先加载
'$$animateJs'
0 0
- $ocLazyLoad懒加载的时候 加载ui-grid报错 $$animateJS is not a function
- Lay ui 的时间插件 总是报错 Uncaught TypeError: laydate.render is not a function
- js 报错 $ is not a function
- js报错:****is not a function 的解决方法
- 关于bootstrap-select赋值时候报错: e.stopPropagation is not a function
- Angular-Ui-Router+ocLazyLoad动态加载脚本
- grid.getSelectionModel().getSelected is not a function
- js报$ is not a function 的问题的解决方法
- 关于js报$ is not a function 的问题
- js报错$('#form1').ajaxSubmit is not a function...
- js报错$('#form1').ajaxSubmit is not a function...
- Extjs 报错 this.addEvents is not a function
- js报错:TypeError: document.GetElementById is not a function
- js报错 :TypeError: yanzhengma is not a function
- js报错:TypeError: document.GetElementById is not a function
- ajaxFileUpload报错jQuery.handleError is not a function
- animate is not a function(zepto 使用报错)
- intermediate value is not a function报错解决方法
- php环境配置
- String4笔记----AOP的前置通知和后置通知
- javascript中的Math.ceil() 、Math.floor() 、Math.round() 三个函数
- mac下安装MongoDB
- 偏序关系和Dilworth定理(poj 1548)
- $ocLazyLoad懒加载的时候 加载ui-grid报错 $$animateJS is not a function
- 汉诺塔游戏(递归)
- Java内存管理
- AC自动机 ( 静态建树模板 )——Substring ( UVA 11468 )
- ajax基础 GET,POST方式传值,同步异步
- Ubuntu下的文件比较工具--meld
- pip 换源小计
- 习题38 列表的操作
- 认识tomcat及其配置文件解释