var myapp = angular.module('myapp',['ngRoute','ui.bootstrap']);
var myapp = angular.module('myapp', ['infinite-scroll']);
我想使用infinite-scroll
http://binarymuse.github.io/ngInfiniteScroll/documentation.html,但似乎我做错了。如何包含模块?
答案 0 :(得分:2)
将其添加到原始列表,而不是尝试声明新模块
var myapp = angular.module('myapp',['ngRoute','ui.bootstrap', 'infinite-scroll']);