As with applications on angulare to perform a get request on the action Yii2 and get a response?
1. To build all communication between client and server angulare on yii2 restful via the API or client can make a request for any usual controller/action and get a response?
2. If the first question answer is Yes, as with the client to perform get requests to an action in yii and get answers.
Objective to work with a model in yii2. Did the implementation on the client but would be more correct to do it on the server. But I can't figure out how can I pass through the rest of get parameters and get answers.
Campaign case any more questions:
1. Is it possible to make the client part of the application template Yii, to be able to use a normal controller and action yii, not only restful API.
2. Whether has sense to pass from the client to the server, gets a query from the current url to work with the model , if the url I get agulara $location.search(); As I understand it, it's easier to do everything on the client in terms of app performance.