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
Ajinkya SalveAjinkya Salve 

Trying to use ng-force, script not working.

script type="text/javascript">

var MyApp = angular.module('MyApp', ['ngForce','ui','ui.bootstrap']);

MyApp.controller('RatingCntrl', function ($scope,vfr,$dialog) {
 
  $scope.GroupTitle= "Channel Affinity";
  $scope.GroupId= "1";
 
  var pOppQuery = vfr.query("SELECT Id, Name, Account.Name, LeadSource, Probability, CloseDate, StageName, Amount FROM Opportunity ORDER BY CloseDate DESC");
    pOppQuery.then(function(d) {
        $scope.opportunities = d.records;
        if(!$scope.$$phase) {
            $scope.$digest();
        }
    });
 
});
 
</script>

Above is the script, please point out mistakes i've made.
KevinPKevinP
Hi, 

I'm the author of ngForce. 

You've not mentioned any errors you're receiving so I'm not sure what kinds of issues you're facing. 

Can you say more about what issues you're facing?
Manu K MManu K M
hi, 
what all are inculded to run ngForce??