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,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
     }])

Loading…
Cancel
Save