样板angularjs进样器

时间:2017-09-18 10:33:22

标签: javascript angularjs asp.net-mvc boilerplate

我们购买了一个html模板,用于我们的项目(样板文件),但我们收到了这些错误。

你能帮我解决一下这些问题吗?

  

错误:[$ injector:modulerr]由于以下原因无法实例化模块应用:   [$ injector:nomod]模块'app'不可用!你要么拼错了   模块名称或忘记加载它。如果注册模块,请确保   您将依赖项指定为第二个参数。   http://errors.angularjs.org/1.6.3/ $注射器/ NOMOD?P0 =应用   minErr /< @http:// localhost:6234 / Scripts / angular.js:66:12   module /< @http:// localhost:6234 / Scripts / angular.js:2257:17   确保@ http:// localhost:6234 / Scripts / angular.js:2178:38   module @ http:// localhost:6234 / Scripts / angular.js:2255:14   loadModules /< @http:// localhost:6234 / Scripts / angular.js:4896:22   forEach @ http:// localhost:6234 / Scripts / angular.js:402:11   loadModules @ http:// localhost:6234 / Scripts / angular.js:4880:5   createInjector @ http:// localhost:6234 / Scripts / angular.js:4802:19   doBootstrap @ http:// localhost:6234 / Scripts / angular.js:1909:20   bootstrap @ http:// localhost:6234 / Scripts / angular.js:1930:12   angularInit @ http:// localhost:6234 / Scripts / angular.js:1815:5 @http://   localhost:6234 / Scripts / angular.js:33340:5 i @ http://   localhost:6234 / Scripts / jquery-2.2.0.min.js:2:27060 fireWith @ http://   localhost:6234 / Scripts / jquery-2.2.0.min.js:2:27828 ready @ http://   localhost:6234 / Scripts / jquery-2.2.0.min.js:2:29619 J @ http://   本地主机:6234 /脚本/ jquery的-2.2.0.min.js:2:29804

     

http://errors.angularjs.org/1.6.3/ $注射器/ modulerr P0 =应用&安培;?!P1 =%5B%24injector%3Anomod%5D%20Module%20'app'%图20是%20not%20available%20You%20either%20misspelled%第二十条% 20module%20name%20or%20forgot%20to%20load%20IT。%20If%20registering%20A%20module%20ensure%20that%20you%20specify%第二十条%20dependencies%20AS%第二十条%20秒%20argument。%0Ahttp%3A%2F% 2Ferrors.angularjs.org%2F1.6.3%2F%24injector%2Fnomod%3Fp0%3Dapp%0AminErr%2F%3C%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A66 3A12%%0Amodule%2F% 3C%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A2257%3A17%0Aensure%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A2178%3A38%0Amodule%40http%3A% 2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A2255%3A14%0AloadModules%2F%3C%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A4896%3A22%0AforEach%40http%3A%2F% 2Flocalhost%3A6234%2FScripts%2Fangular.js%3A402%3A11%0AloadModules%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A4880%3A5%0AcreateInjector%40http%3A%2F%2Flocalhost%3A6234%2FScripts% 2Fangular.js%3A4802%3A19%0AdoBootstrap%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A1909%3A20%0Abootstrap%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A1930% 3A12%0AangularInit%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A1815%3A5%0A%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fangular.js%3A33340%3A5%0Ai%40http% 3A%2F%2Flocalhost%3A6234%2FScripts%2Fjquery-2.2.0.min.js%3A2%3A27060%0AfireWith%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fjquery-2.2.0.min.js%3A2% 3A27828%0Aready%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fjquery-2.2.0.min.js%3A2%3A29619%0AJ%40http%3A%2F%2Flocalhost%3A6234%2FScripts%2Fjquery-2.2.0。 min.js%3A2%3A29804%0A

var app = angular.module("app", [
    "ngAnimate",
    "ngSanitize",

    "ui.router",
    "ui.bootstrap",
    "ui.jq",

    "abp"
]);

0 个答案:

没有答案