I'm new to Angular and Symfony and I'm asking if variables that I give to the view with twig can be used by an angular controller?
Here is an example :
PHP Controller:
return $this->render('view.html', array('variable' => $value));
Angular Controller:
var data = 'variablefromtwig';
Anyone knows how to do it?