12345678910111213141516171819202122232425262728 |
- app.config(function($routeProvider,$locationProvider){
- $locationProvider.hashPrefix('');
- $routeProvider
- .when('/global_map',{
- templateUrl: 'app/views/map/globalMap.template.html',
- controller: 'GlobalMap'
- })
- .when('/global_map/europe',{
- templateUrl: 'app/views/map/europMap.template.html',
- controller: 'Europe'
- })
- .when('/global_map/europe/swiss',{
- templateUrl: 'app/views/map/country/swissMap.template.html',
- controller: 'Swiss'
- })
- .when('/',{
- templateUrl: 'app/views/homePage.template.html',
- controller: ''
- })
- .when('/articles-users', {
- templateUrl: 'app/views/articles-users.template.html',
- controller: 'ArticlesUsers'
- })
- .when('/user-account', {
- templateUrl: 'app/views/userAccount.template.html',
- controller: 'UserAccount'
- })
- })
|