mirror of
https://github.com/arnaucube/openEventsPlatformApp.git
synced 2026-02-07 19:56:40 +01:00
implemented get events by categories
This commit is contained in:
@@ -13,7 +13,8 @@ angular.module('app', [
|
||||
'app.event',
|
||||
'app.alerts',
|
||||
'app.savedEvents',
|
||||
'app.byCategories',
|
||||
'app.categories',
|
||||
'app.byCategory',
|
||||
'app.users',
|
||||
'app.user',
|
||||
'app.login',
|
||||
@@ -93,12 +94,21 @@ angular.module('app', [
|
||||
}
|
||||
}
|
||||
})
|
||||
.state('app.byCategories', {
|
||||
url: '/byCategories',
|
||||
.state('app.categories', {
|
||||
url: '/categories',
|
||||
views: {
|
||||
'menuContent': {
|
||||
templateUrl: 'templates/byCategories.html',
|
||||
controller: 'ByCategoriesCtrl'
|
||||
templateUrl: 'templates/categories.html',
|
||||
controller: 'CategoriesCtrl'
|
||||
}
|
||||
}
|
||||
})
|
||||
.state('app.byCategory', {
|
||||
url: '/byCategory/:categoryname',
|
||||
views: {
|
||||
'menuContent': {
|
||||
templateUrl: 'templates/byCategory.html',
|
||||
controller: 'ByCategoryCtrl'
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user