Best implementation (folder structure) of SPA with Yii2 and AngularJS 2
<p>As you know <a href="https://angular.io/" rel="nofollow noreferrer">angular 2</a> is in beta right now.</p>

<p>Generally is it good to start a single page application (SPA) using <a href="https://angular.io/" rel="nofollow noreferrer">angular 2</a> and <a href="http://www.yiiframework.com/doc-2.0/" rel="nofollow noreferrer">yii2</a> as a RESTful API (for backend services)?</p>

<p>Assuming this:</p>

<ul>
<li>how could be the structure?</li>
<li>What is the best implementation of this? (with sample)</li>
</ul>

<h3>Update:</h3>

<p>Sorry, but I'm not good in English. I think the usage of implementation was wrong. I mean what is the best folder structure for using yii2 and angular 2 as a SPA like <a href="https://github.com/hscstudio/angular1-yii2" rel="nofollow noreferrer">this repo</a>.</p>

<h2>Last Update:</h2>

<p>As @SalemOuerdani told and mentioned I think that this <a href="https://stackoverflow.com/questions/31989384/yii2-angularjs-in-a-single-application-how">link</a> is my answer. maybe my question is a duplicate! Sorry for that! </p>