AngularJS Generators for Yii2