$ git clone https://github.com/githubjeka/angular-yii2.git
$ cd angular-yii2
$ git submodule init
$ git submodule update
$ cd client-angular
$ bower update
See more info https://github.com/AngularYii2/angularyii2.github.io
$ cd rest
$ composer install --prefer-dist
For more information by init rest server please see description of yii2-rest repository
Demo Client - http://angularyii2.github.io/
Demo Server - https://yii2-rest-githubjeka.c9.io/rest/web/
Not Found (#404) is OK, because rules is
[
'urlManager' => [
'enablePrettyUrl' => true,
'enableStrictParsing' => true,
'showScriptName' => false,
'rules' => [
['class' => 'yii\rest\UrlRule', 'controller' => ['v1/post', 'v1/comment', 'v2/post']],
'v1/user/login' => 'v1/user/login',
'POST v2/user/login' => 'v2/user/login',
'OPTIONS v2/user/login' => 'v2/user/login',
],
],
]