I successfully installed angularJS in my symfony app.
When "/" is called my symfony controller matches the route on a specific template. This is the only time a symfony controller action is called.
The entire rest of the application is routed through angularJS - route.
All angularjs specific views are located in
web/*
When i click a link i.e. "/friends", the proper html-file is loaded.
The url is:
http://example.com/friends
When i click an other link i.e. "/trash", the proper html-file is loaded too.
The url is:
http://example.com/trash
But when i reload the page, symfony tries to find a route "/trash" and throughs an error 404.
Is there any way to get around this?
Thanks and Greetings!