Closed mateeqazam closed 6 years ago
Hi @mateeqazam !
It's hard to guess what happened in your case, it seems that the problem is related to paths misconfiguration. So to understand the issue, can you provide a small example? Or may be AngularJS docs can help you somehow: https://docs.angularjs.org/error/$compile/tpload
Closing as a month has passed.
Error: [$compile:tpload] Failed to load template: template/ngCart/addtocart.html (HTTP status: 404 Not Found) This is ngCart which is installed as
bower install ngcart --save
in order to use it you just use its provided directive asBut when you load your html with this directive in it, it gives the error above and same is for any url you request e.g. if there is a state as
localhost:3000/test
it does not go to that state. It simply says cannot GET /test but if you click on any link with/test
in its href, it will open it. I have been trying to solve this for hours now and had no result. Do you know what is wrong here ? Kindly help