title: How to integrate Angular with Symfony
body: <p>So I've been tasked to build an API and a frontend for a project. The only real requirement that I've been given is that I have to use PHP to build the API.</p>
  
  <p>I developed in raw PHP once, and it was a small two month personal project, and it was seven years ago. So I looked at the frameworks available and went ahead with Symfony.</p>
  
  <p>On the front end I was hoping to move ahead with Angular.</p>
  
  <p>I've got the API mostly built out, but my problem now is serving the angular files inside of the Symfony process. It seems that for every path I need I'll need to write an action in the controller for that route, which I'm for the most part ok with. But the big problem that I just ran into is that it's always assuming I want Twig as my engine. So I'm not able to use the braces that Angular uses.</p>
  
  <p>Is this at all possible or have I gotten myself tied in to this incorrectly?</p>
  
  <p>EDIT: For now I'm going to move ahead with wrapping my angular in the verbatim tag</p>
  
  <pre><code>{% verbatim %}
    {{ angular code }}
  {% endverbatim %}
  </code></pre>