Running an angular app in php framework
I have a angular app running standalone(node server) https://site_url:8018/ which I want to use in my php framework. https://site_url/editor/id/1
I want to be able to pass the id plus other values from php framework e.g. csrf token etc.. to this angualr app without making any xhr call
The angular app uses endpoints which will be in my php site as well.
What would be the best solution to deal with this situation and how?
also the main site is running on https://site_url/ and I would like to use this address for angular app https://site_url/editor/id/1, how I can achieve this?