|
@@ -15,7 +15,6 @@ var app = angular.module('app', [
|
15
|
15
|
app.config(['$stateProvider', '$urlRouterProvider', '$httpProvider', '$locationProvider',
|
16
|
16
|
function($stateProvider, $urlRouterProvider, $httpProvider, $locationProvider) {
|
17
|
17
|
|
18
|
|
-
|
19
|
18
|
//$locationProvider.html5Mode(true);
|
20
|
19
|
|
21
|
20
|
$stateProvider.state('home',{
|
|
@@ -25,13 +24,6 @@ app.config(['$stateProvider', '$urlRouterProvider', '$httpProvider', '$locationP
|
25
|
24
|
controller:'HomeController'
|
26
|
25
|
});
|
27
|
26
|
|
28
|
|
- $stateProvider.state('thisweek',{
|
29
|
|
- url:'/thisweek',
|
30
|
|
- reloadOnSearch: false,
|
31
|
|
- templateUrl:'views/home.html',
|
32
|
|
- controller:'HomeController'
|
33
|
|
- });
|
34
|
|
-
|
35
|
27
|
$urlRouterProvider.otherwise('/');
|
36
|
28
|
|
37
|
29
|
}])
|