function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Manu K MManu K M 

SPA using Angularjs in Visualforce

Hi experts,

I have an application contains multiple visualforce pages. Now I am converting the application in to a single page application(SPA) using angular js, can I use the pages display in the 'ng-view'? currrently I have some issues with rendering the visualforce pages in ng-view. Or do I need to convert the pages in to components or something else. I got some demo applications, but unfortunately every demos dealing with the native html pages. I am in a great confusion. anybody have any experience with SPA in visualforce pages?

Thanks in advance
Gaurav KheterpalGaurav Kheterpal
You may want to look at the ngForce (https://github.com/noeticpenguin/ngForce) library. Here's a good tutorial (https://developer.salesforce.com/blogs/developer-relations/2013/05/angularjs-and-ngforce-more-fun-in-the-javascript-playground.html) which explains how to use it with Visualforce.

If my answer helps resolve your query, please mark it as the 'Best Answer' to benefit others and improve the overall quality of Discussion Forums.