Hi guys!
Anybody know, how can i get the post from wordpress? My idea is make a list of posts from worpress (as backend).
Thx for everything!!!
I would start here http://wp-api.org/ to get a REST API integrated and then use $http or ngResource
Hi rojasa19. I am making an app with wordpress. I use this plugin to get a rest api https://wordpress.org/plugins/json-api/
I want to post the code in github when I finished my app. If you want I can clean a little bit my code and send it to you.
Hi @martostef,
Thx so much for your answord.
I could do it, but now i have a problem with the post.content.
Im using ng-bind-html but it is not work. Do you have the same problem ? (I
ll be apreciate so much you help with this problem).
Here’s how I use it:
data-ng-bind-html=“articulo.content”
You don’t have to use {{ }}
Thx so much again!
I tryed it and i recived the same error:
"Error: [$sanitize:badparse] <!–
wpa2a.script_load();
i like work ionic with wordpress too
can you send me this code?
thank you
Hi @blackwhite!
I don´t have this code now, bue i recomend u https://docs.angularjs.org/api/ngResource/service/$resource
if you have any question, let me know!
Regards!
Hi rojasa,
i think you have code for that.
I don’t know about code
https://www.npmjs.com/package/wp-api-angularjs
This is what you need