Angular Yii2 REST
This module included two basic classes.
In this example we have an endpoint "/api/v1/users" which returns registered users on the server.
- The first helps build a simple model which get populated by the second service class.
;
- The second is used to be extended by services. It requires three methods to be implemented and the angular http class injected.
;;;;
This allows us to consume the api is a nice easy way.
;;