I have a single-page Angular app with a Rails backend. I am using a tag in my index.html file, but when I run my front-end unit tests using Karma, I get this:<
index.html
You can specify your base tag in your index.html like that:
...
Source: from angularjs documentation