Yii2 + Angular JS 2.0

Hi All,

With the emergence of Angular JS 2.0, I am thinking to integrate Angular JS 2.0 into Yii2. In previous discussion, many are suggesting to use Yii as backend and angular as the frontend. However, when reading the tutorial about angular js 2.0, I saw angular js 2.0 more like a component.

Is that possible to use yii 2.0 as frontend as well and just use angular 2.0 as components more like GridView, DetailView and so on? I understand it would be possible, but is it a good practice?

If possible, next question what would be a best practice to synchronize between model in the angular js 2.0 with the database via yii2?

Thank you in advanced.


Unlikely. Angular has different philosophy.