0
我已經做了與角JS一個示例應用程序,並增加了NG-路徑來加載HTML裏面它。我正在逐漸「angular.js:3905未捕獲的錯誤:[$注射器:modulerr]無法實例模塊plunker因:錯誤:[$注射器:unpr]未知提供商:$ routeProvider」角的js伍 - 路由
這裏是我已經加入其中,我添加了一些內部
<meta charset="utf-8" />
<title>AngularJS Plunker</title>
<link data-require="[email protected]" data-semver="3.3.0" rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" />
<script data-require="[email protected]" src="https://code.angularjs.org/1.2.28/angular.js" data-semver="1.2.28"></script>
<script data-require="[email protected]" data-semver="1.2.28" src="https://code.angularjs.org/1.2.28/angular-route.js"></script>
<script data-require="[email protected]" data-semver="2.2.0" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script data-require="[email protected]" data-semver="3.3.0" src="https://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="app.js"></script>
我創建了一個路線腳本我的HTML腳本問題的現場演示here
其工作Oleg Barinov – Gowtham
酷!如預期) –