I have an angular app that is hosted at my university server.
Because the app is not in domain root (urls are constructed as follows: university.domain/~<student_id>
) all links and image srcs are broken (angular assumes that it is located in domain root).
My question is: how can I override angular base url so I can still use goodies like ng-href, ng-src etc.?
university.domain/~12345678/app
? I tried setting base href to"/~1234/app"
but all requests are for/~1234
. – Orthopedics