Freedom on a single page app using AngularJS and Symfony2