mirror of
https://github.com/arnaucube/openEventsPlatformApp.git
synced 2026-02-07 03:36:44 +01:00
main added
This commit is contained in:
@@ -5,6 +5,7 @@ angular.module('app', [
|
||||
'ionic',
|
||||
'pascalprecht.translate',
|
||||
'app.menu',
|
||||
'app.main',
|
||||
'app.events',
|
||||
'app.event',
|
||||
'app.users',
|
||||
@@ -38,8 +39,15 @@ angular.module('app', [
|
||||
controller: 'MenuCtrl'
|
||||
})
|
||||
|
||||
// Each tab has its own nav history stack:
|
||||
|
||||
.state('app.main', {
|
||||
url: '/main',
|
||||
views: {
|
||||
'menuContent': {
|
||||
templateUrl: 'templates/main.html',
|
||||
controller: 'MainCtrl'
|
||||
}
|
||||
}
|
||||
})
|
||||
.state('app.events', {
|
||||
url: '/events',
|
||||
views: {
|
||||
@@ -48,7 +56,8 @@ angular.module('app', [
|
||||
controller: 'EventsCtrl'
|
||||
}
|
||||
}
|
||||
}).state('app.event', {
|
||||
})
|
||||
.state('app.event', {
|
||||
url: '/events/:eventid',
|
||||
views: {
|
||||
'menuContent': {
|
||||
|
||||
8
www/js/main.js
Normal file
8
www/js/main.js
Normal file
@@ -0,0 +1,8 @@
|
||||
angular.module('app.main', ['pascalprecht.translate'])
|
||||
|
||||
.controller('MainCtrl', function($scope, $http, $ionicModal, $timeout, $ionicLoading, $filter) {
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user