getEvents by following users, and some pages

This commit is contained in:
arnaucode
2017-02-25 12:58:13 +01:00
parent 2dc2105948
commit baa74e1921
14 changed files with 117 additions and 28 deletions

View File

@@ -24,7 +24,10 @@ angular.module('app', [
'app.user',
'app.login',
'app.userZone',
'app.newEvent'
'app.newEvent',
'app.editUser',
'app.statistics',
'app.newAlert'
])
.run(function($ionicPlatform) {
@@ -206,6 +209,33 @@ angular.module('app', [
controller: 'NewEventCtrl'
}
}
})
.state('app.editUser', {
url: '/editUser',
views: {
'menuContent': {
templateUrl: 'templates/editUser.html',
controller: 'EditUserCtrl'
}
}
})
.state('app.statistics', {
url: '/statistics',
views: {
'menuContent': {
templateUrl: 'templates/statistics.html',
controller: 'StatisticsCtrl'
}
}
})
.state('app.newAlert', {
url: '/newAlert',
views: {
'menuContent': {
templateUrl: 'templates/newAlert.html',
controller: 'NewAlertCtrl'
}
}
});
// if none of the above states are matched, use this as the fallback