i have REST API in Symfony2, and client app in AngularJS. I have users, users have Symfony2 roles (ROLE_ADMIN, ROLE_USER).
In security.yml is section access_control, but here i can set only Symfony2 routing paths.
How can I block access to path for example:
app.local/app_dev.php/#/something
for users with role ROLE_USER, or anonymous?
(#/something - is Angular url)