app.config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
    var rp = $routeProvider;

    rp.when('/', {
        templateUrl: '/html/home.html',
        controller: 'HomeCtrl',
    });

    rp.otherwise({
        redirectTo: '/'
    });

    $locationProvider.html5Mode({
        enabled: true,
        requireBase: false
    });
}]);

Add a $routeProvider and the $locationProvider
Add a $routeProvider and the $locationProvider

Setup all of the routes, and set up the route provider as well as the
location provider and set it to HTML 5 mode.
