started user zone, post new event started, needs more implementation

This commit is contained in:
arnaucode
2017-02-21 22:39:52 +01:00
parent c9ee46d739
commit c41f5e016d
7 changed files with 127 additions and 1 deletions

View File

@@ -16,7 +16,9 @@ angular.module('app', [
'app.byCategories',
'app.users',
'app.user',
'app.login'
'app.login',
'app.userZone',
'app.newEvent'
])
.run(function($ionicPlatform) {
@@ -126,6 +128,24 @@ angular.module('app', [
controller: 'LoginCtrl'
}
}
})
.state('app.userZone', {
url: '/userZone',
views: {
'menuContent': {
templateUrl: 'templates/userZone.html',
controller: 'UserZoneCtrl'
}
}
})
.state('app.newEvent', {
url: '/newEvent',
views: {
'menuContent': {
templateUrl: 'templates/newEvent.html',
controller: 'NewEventCtrl'
}
}
});
// if none of the above states are matched, use this as the fallback