AngularJS in visualforce Pages With Data
Why This Post? In my Previous post , We have gone through AngularJS setup , Here is the our next step towards it . We will use few angularJS tags to make data search very easy over visualforce page. Here is the sample code for same with explanation in comments. <!- Visualforce Page Start--> <apex:page > <script> <!- AngularJS static resource inclusion --> <apex:includeScript value="{!$Resource.AngularJS}"/> <!- Registers the area for which angularJS would work--> var app = angular.module('myApp',[]); <!- Creates a controller and bing with above area--> app.controller("AccountController", function($scope) { ...