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.
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.
On the front end I was hoping to move ahead with Angular.
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.
Is this at all possible or have I gotten myself tied in to this incorrectly?
EDIT: For now I'm going to move ahead with wrapping my angular in the verbatim tag
{% verbatim %}
{{ angular code }}
{% endverbatim %}