// This config file does not define any routes.
// For module-level route definitions, use the *Routes.js files found in the module folders.

'use strict';

function appConfig($urlRouterProvider, $locationProvider, $breadcrumbProvider) {

    // Add hashbang prefix for SEO and HTML5 mode to remove #! from the URL.
    // Html5 mode requires server-side configuration. See http://bit.ly/1qLuJ0v
    $locationProvider.html5Mode(true).hashPrefix('!');
    // For any unmatched url, redirect to /
    $urlRouterProvider.otherwise('/');

    $breadcrumbProvider.setOptions({
      prefixStateName: 'home',
      template: 'bootstrap3'
    });
}

appConfig.$inject = ['$urlRouterProvider', '$locationProvider', '$breadcrumbProvider'];
module.exports = appConfig;
// This config file does not define any routes.
// For module-level route definitions, use the *Routes.js files found in the module folders.

'use strict';

function appConfig($urlRouterProvider, $locationProvider, $breadcrumbProvider) {
    $locationProvider.html5Mode(false).hashPrefix('!');

    // For any unmatched url, redirect to /
    $urlRouterProvider.otherwise('/');

    $breadcrumbProvider.setOptions({
      prefixStateName: 'home',
      template: 'bootstrap3'
    });
}

appConfig.$inject = ['$urlRouterProvider', '$locationProvider', '$breadcrumbProvider'];
module.exports = appConfig;

Use hashbang routing while on github pages
Use hashbang routing while on github pages
