This extension allows to easily load and embed your AngularJS application from a Yii view.
Yii extension page: http://www.yiiframework.com/extension/yii-angularjs-helper/
- publish and load AngularJS base script and required modules
- publish and load your AngularJS application assets
- concatenate AngularJS application scripts into a single file
- replace placeholders values on assets publication
- flexible configuration
- download the extension
- copy the angularHelper folder from the examples folder to your modules folder and enable it in your configuration file
- open index.php?r=angularHelper/default/index in your browser
- have a look at the source code of the extension (YiiAngularjsHelper.php) and of the example module