'use strict';

//--------------------------------------------------------------
//                 Angular Main
//--------------------------------------------------------------

angular.module('anyfetchFrontApp', [
  'ngCookies',
  'ngResource',
  'ngRoute',
  'anyfetchFrontApp.filters'
])
  .config(function ($routeProvider, $sceProvider) {
    $sceProvider.enabled(false);
    $routeProvider
      .when('/', {
        templateUrl: 'views/main.html',
        controller: 'MainCtrl'
      })
      .otherwise({
        redirectTo: '/'
      });
  });

'use strict';

//--------------------------------------------------------------
//                 Angular Main
//--------------------------------------------------------------

angular.module('anyfetchFrontApp', [
  'ngCookies',
  'ngResource',
  'ngRoute',
  'anyfetchFrontApp.filters'
])
  .config(function ($routeProvider, $sceProvider, $locationProvider) {
    $routeProvider
      .when('/app', {
        templateUrl: 'views/main.html',
        controller: 'MainCtrl'
      })
      .otherwise({
        redirectTo: '/app'
      });
    $sceProvider.enabled(false);
    $locationProvider.html5Mode(true);
  });

Update to integrate the pushstate in angular
Update to integrate the pushstate in angular
