我的介绍页面必须先打开然后打开侧面菜单应用程序。在这里我可以显示安装应用程序时第一次的介绍页面,但问题是我可以显示播放列表页面但导航栏没有显示。
这是我的代码:
https://www.dropbox.com/s/ome1w3isn41hjch/menu.zip?dl=0
像这样在移动浏览器控制台中收到错误
查看导航栏为空的屏幕截图
答案 0 :(得分:3)
由于app.js中占用的进样器错误而显示的bundle.js错误 所以检查你的app.js角度注入元素。
答案 1 :(得分:1)
你错过了ng-cordova.js
使用上面的链接安装bower ..!和index.html中的<script src="lib/ng-cordova.min.js"></script>
index.html
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- ionic/angularjs js -->
<script src="lib/ionic/js/ionic.bundle.js"></script>
<script src="lib/ng-cordova.min.js"></script>
<script src="cordova.js"></script>
<!-- your app's js -->
<script src="js/app.js"></script>
<script src="js/controllers.js"></script>