Created
October 4, 2016 05:22
-
-
Save imanilchaudhari/f5888fa189b630edc9396efb2a4db41e to your computer and use it in GitHub Desktop.
Yii2 advanced app angular
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace backend\assets; | |
use yii\web\AssetBundle; | |
use yii\web\View; | |
/** | |
* Class AngularAsset | |
*/ | |
class AngularAsset extends AssetBundle | |
{ | |
public $sourcePath = '@bower/angular/'; | |
public $js = [ | |
'angular.min.js', | |
]; | |
public $jsOptions = [ | |
'position' => View::POS_HEAD, | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment