+ Start a Discussion
Richard CookRichard Cook 

Here's an example of using the REST API from a VisualForce page with AngularJS

In Pat Patterson's article,"Calling the Force.com REST API from Visualforce Pages, Revisited", https://developer.salesforce.com/blogs/developer-relations/2013/06/calling-the-force-com-rest-api-from-visualforce-pages-revisited.html, he points out that since Summer '13 the REST API is directly accessible from VisualForce pages, and gives examples of doing so with JQuery. I translated the example to use AngularJS for the JavaScript engine.
Code can be found at https://gist.github.com/rrcook/0f07838bc3d35d017206
bob_buzzardbob_buzzard
You should put this as a comment on the post that you are referring to - the forums are to allow people to get help, not to increase your audience.
Richard CookRichard Cook
For some reason I was unable to add a comment yesterday; perhaps it was because it was a new Disqus account, not sure. I got through today.
In any case, the year-old article makes no mention of AngularJS, just JQuery, and many of the newer articles & webinars are stressing AngularJS so I posted this to increase searchability for AngularJS solution, not an audience.
bob_buzzardbob_buzzard
And its still not the right place for it.