Browse Source

removed state

tags/1.0.0
Robin Thoni 8 years ago
parent
commit
716123126c
1 changed files with 0 additions and 8 deletions
  1. 0
    8
      app/app.js

+ 0
- 8
app/app.js View File

15
 app.config(['$stateProvider', '$urlRouterProvider', '$httpProvider', '$locationProvider',
15
 app.config(['$stateProvider', '$urlRouterProvider', '$httpProvider', '$locationProvider',
16
     function($stateProvider, $urlRouterProvider, $httpProvider, $locationProvider) {
16
     function($stateProvider, $urlRouterProvider, $httpProvider, $locationProvider) {
17
 
17
 
18
-
19
         //$locationProvider.html5Mode(true);
18
         //$locationProvider.html5Mode(true);
20
 
19
 
21
         $stateProvider.state('home',{
20
         $stateProvider.state('home',{
25
             controller:'HomeController'
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
         $urlRouterProvider.otherwise('/');
27
         $urlRouterProvider.otherwise('/');
36
 
28
 
37
     }])
29
     }])

Loading…
Cancel
Save