I'm using AngularJS to handle my urls with html5mode turned on. I'm also using the gulp-angular generator to build the project.
Situation:
index.js
$locationProvider
.html5Mode(true);
index.html
<!-- build:css({.tmp,src}) styles/app.css -->
<!-- inject:css -->
<link rel="stylesheet" href="app/index.css">
<!-- endinject -->
<!-- endbuild -->
<base href="/" />
Problem
When url is example.com/somepage, index.css is gotten from example.com/app/index.css but when url is example.com/somepage/somedeeperpage, and I refresh the page, index.css is gotten from example.com/somepage/app/index.css
I want to be able to use the relative paths as by default in the angular-gulp generator.
Do I have to change to base tag, or index.css rel path in the gulpfile?
Strangely, the relative path is working fine for finding index.js
Kind regards