I
I
Ilya2014-02-15 17:42:46
Yii
Ilya, 2014-02-15 17:42:46

How to get and write data from MySQL database in AngularJS (php)?

How to pass data from MySQL database to AngularJS model?
Also interested in how to make an entry in the MySQL database from AngularJS?
Interested in php implementation. I'm not familiar with nodejs.
In fact, I need to transfer data to ng-app in the form of the Yii framework.
After manipulations with ng-app, either immediately write to the database, or send a POST request.
I would be grateful for an example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2014-02-15
@hrhr99

ngResource.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question