old_contents: '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;
  
new_contents: 'use strict';
  
  /**
   * @ngInject
   */
  function OnConfig($stateProvider, $locationProvider, $urlRouterProvider) {
  
    $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;
  
subject: Disable HTML5 links mode