zoukankan      html  css  js  c++  java
  • Angular报错

    报错:
    Module 'App' 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.

    解决办法:

    angular.module('bookxApp').controller(...) ; 少了依赖 [ ] 双括号
    
    

    改成这样就行了

    angular.module('bookxApp' , [ ] ).controller(...) ; 少了依赖 [ ] 双括号
    
    
  • 相关阅读:
    11
    TSP-test
    TSP-SA_TSP
    TSP-PathLength
    TSP-OutputPath
    TSP-NewAnswer
    TSP-
    TSp-dsxy2figxy
    TSP-DrawPath
    TSP-Distanse
  • 原文地址:https://www.cnblogs.com/ae6623/p/5300455.html
Copyright © 2011-2022 走看看