'use strict';

/**
 * @ngInject
 */
function OnConfig($stateProvider, $locationProvider, $urlRouterProvider) {

  $locationProvider.html5Mode(true);

  $stateProvider
    .state('home', {
      url: '/',
      controller: 'ExampleCtrl as home',
      templateUrl: 'home.html',
      title: 'Home'
    })
    .state('timeline', {
      url: '/timeline/:dataset',
      controller: 'TimelineCtrl as timeline',
      templateUrl: 'timeline.html',
      title: 'Timeline'
    });

  $urlRouterProvider.otherwise('/');

}

module.exports = OnConfig;

@@ -109,46 +109,8 @@
  %7B%0A%0A
-  $locationProvider.html5Mode(true);%0A%0A
   $s

Disable HTML5 links mode