Symfony2 integration of Angular JS