While dveloping my AngularJS app on my local WAMP server it resides in:
http://localhost/Projects/myLaravelProject/public/
When calling routes as
$http.post("/login", sanitizeCredentials(credentials));
It is trying to access
http://localhost/login
and obviously getting a 404 error, i have no idea how to overcome this. Im using Hashbang mode not HTML5 mode