Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add test page

  • Loading branch information...
commit 5c607719e1f6195ff17edf210a1887127bab997f 1 parent 46d8814
Penn Su authored
Showing with 11 additions and 2 deletions.
  1. +9 −0 www/js/app.js
  2. +2 −2 www/templates/menu.html
View
9 www/js/app.js
@@ -75,6 +75,15 @@ angular.module('starter', ['ionic', 'starter.controllers'])
controller: 'PlaylistCtrl'
}
}
+ })
+
+ .state('app.test', {
+ url: "/pennsu",
+ views: {
+ 'menuContent' :{
+ templateUrl: "templates/pennsu.html"
+ }
+ }
});
// if none of the above states are matched, use this as the fallback
$urlRouterProvider.otherwise('/app/message');
View
4 www/templates/menu.html
@@ -22,8 +22,8 @@ <h1 class="title">Left</h1>
<ion-item nav-clear menu-close href="#/app/browse">
Browse
</ion-item>
- <ion-item nav-clear menu-close href="#/app/playlists">
- Playlists
+ <ion-item nav-clear menu-close href="#/app/pennsu">
+ Pennsu
</ion-item>
</ion-list>
</ion-content>
Please sign in to comment.
Something went wrong with that request. Please try again.