I want to use angular with symfony2. To do so it should be possible to load a template from a reference like this:
Simple make a template without twig tags, and a route for it to load via ajax. No controller is required
my_template:
path: /path/to/template
defaults:
_controller: FrameworkBundle:Template:template
template: 'AcmeBundle:Angular:template.html.twig'
More infos: http://symfony.com/doc/current/cookbook/templating/render_without_controller.html