Skip to content

Commit

Permalink
app: make app template and fix viewname bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Mihandoost committed Dec 22, 2015
1 parent 43f4623 commit 3e81377
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 26 deletions.
4 changes: 2 additions & 2 deletions www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ angular
templateUrl: 'templates/app.html'
})

.state('tab.userlist', {
.state('app.userlist', {
url: '/userlist',
views: {
'tab-chats': {
'tab-userlist': {
templateUrl: 'templates/userlist.html',
controller: 'UserListCtrl'
}
Expand Down
5 changes: 5 additions & 0 deletions www/templates/app.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<ion-tabs class="tabs-icon-top tabs-color-active-positive">
<ion-tab title="User List" icon-off="ion-ios-gear-outline" icon-on="ion-ios-gear" href="#/tab/userlist">
<ion-nav-view name="tab-userlist"></ion-nav-view>
</ion-tab>
</ion-tabs>
24 changes: 0 additions & 24 deletions www/templates/tabs.html

This file was deleted.

0 comments on commit 3e81377

Please sign in to comment.