I'm building a simple Angular app for a demo for a client. They don't know much about web server technology so I was trying to set it up as a stand along app that will run in there browser. I wanted to use ngRoutes to break my code up into templates but I can't seem to get it to work with any stand alone server (like live-server or nodemon).
Anyhow can I do this without a server or is it not possible. From what I can tell it won't work with anything I try.
Here is my route code.
 angular.module("myApp", ['ngRoute','ui.bootstrap','ui-leaflet'])
.config(function($routeProvider,$locationProvider){
    $routeProvider
        .when('/search',{
            controller: 'searchCtrl',
            templateUrl: '/views/search.html'
        })
        .when('/list',{
            controller: 'listCtrl',
            templateUrl: '/views/list.html'
        })
        .otherwise({
            redirectTo: '/search'
        });
        $locationProvider.html5Mode(true);
    });
 
    