What should be the file structure of the website on Yii2 and AngularJS?

A small website on Yii2, template basic.
One of the sections (one controller) I want to do with Angular 1.x
I.e. partly regular site, partly api.
Where in this case the rest of the Angular files?
If the site is completely done as an api, you know that it is easier for the backend and the client spread across different domains.
June 27th 19 at 15:34
1 answer
June 27th 19 at 15:36
Depends on what address You plan to run Angular.
For example a folder somepage which lies at the root public folder of your site.
You do not need that Angular has run through yii. yii only as an api to receive requests from Angular to handle, to do something and return.
At the same address as the site on yii.
Files angular using assets to connect? - kade.Bos commented on June 27th 19 at 15:39
You write
I.e. partly regular site, partly api.

after that You write
At the same address as the site on yii

How does it fit in? I'm not asking about the domain and about the address of the page on which angular - Henderson_Beat commented on June 27th 19 at 15:42

Find more questions by tags AngularYii