I need some help setting up an Angular application into a Symfony 3 webapp.
What I want to achieve is a bit tricky, and I don't even know if it is realizable.
I have a web application built on Symfony 3, that's pretty classic. But in one route of the app, I would like to run an angular app (inside the main template so I keep my header, menus, footer, etc...). I need this because the page at /configurator is very user-interactive, and I think it would be a lot easier to develop (and more user-friendly) with angular than doing stuff with jquery for example.
So every path ( /home , /route1 , etc...) & /configurator would work the Symfony way (symfony controllers rendering twig templates), but inside the /configurator twig template, the main content would be the angular app (with some json requests to the symfony app as a backend).
The template of the /configurator page would looks something like :
{% extends 'base.html.twig' %}
{% block content %}
<div class="row">
<app-root>Loading...</app-root>
</div>
{% endblock %}
I need some advice on how to setup & achieve that (is that possible ?) : how to setup angular with symfony (angular src in AppBundle/Resources ?)
Thanks for your help !