2016-08-09 51 views
0

我想讓我的離子app.js與我的新工廠一起運行,並遇到問題找到一個錯誤。我不確定我做錯了什麼,並認爲它是一個簡單的錯誤。我創建了一個可以更容易查看的運動員。如果你能幫助我,這將意味着很多。這是一個重要人物。謝謝.config問題在app.js的離子項目

ionic.bundle.js:13438 Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to: 
Error: [$injector:nomod] Module 'starter' 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. 

回答

1

ng-app="starter"添加到body標記。

例如,

<body ng-app="starter"> 
+0

我已經有:/ –

+0

任何其他的想法?當我試圖將我的工廠添加到此文件時,問題就開始了。如果我恢復到原來的工廠沒有工作,但我需要工廠 –

+0

最有可能是語法錯誤。請檢查一下。 –