【发布时间】:2016-07-21 04:56:34
【问题描述】:
我是新的 Angular,我必须在我的项目中实现服务器端分页,所以我做了所有事情,就像在这个例子中所做的那样: Server Side Pagination In Angularjs Tutorials
但我在我的网络浏览器控制台中收到这些错误:
GET
http://*********/admin/css/bootstrap.min.css [HTTP/1.1 404 Not Found 1043ms]
GET
http://*********/admin/css/bootstrap-theme.min.css [HTTP/1.1 404 Not Found 1385ms]
GET
http://*********/admin/css/styles.css [HTTP/1.1 404 Not Found 1334ms]
GET
http://*********/admin/lib/angular/angular.js [HTTP/1.1 404 Not Found 1384ms]
GET
http://*********/admin/lib/dirPagination.js [HTTP/1.1 404 Not Found 1383ms]
GET
http://*********/admin/app/app.js
and
Error: [$injector:modulerr] Failed to instantiate module angularTable due to:
[$injector:nomod] Module angularTable is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
如果有人可以帮助我,请!
【问题讨论】:
-
您的资源似乎没有正确地从服务器传输到浏览器。检查网址是否正确。
-
模块 angularTable 的源代码位于 dirPagination.js 中,如果未正确检索,则会发生此错误。如果 dirPagination.js 本身的 url 正常工作,我假设存在某种 CORS 问题。
-
不,找不到这个资源,但是 URL 没问题
标签: angularjs