CSS file paths are not resolving properly with angular ng-view
问题 I have an angular app setup with ng-view. I have routes that are both 1 and 2 levels deep, such as: .when('/sample', { templateUrl: 'views/sample.html', controller: 'SampleCtrl' }) .when('/sample/:id', { templateUrl: 'views/sample.html', controller: 'SampleCtrl' }) I am using html5 mode to remove the scotch routing, so my routes render as "localhost:9000/sample" instead of "localhost:9000#/sample" I also am using a node modrewrite server to enable the html5 mode so I can accept direct links