hi SH,
if you are using ng-view to navigate across different page,then just call
the getGridViewData function inside the controller directly after
declaration
i'm writing this example because i don't have the big picture of you app
ex:
angular.controller("ResultController",function ($scope){
$scope.getGridViewData = function(){
//function defenition goes here
}
// the following lines executed whenever the controller is
loaded in the view
$scope.getGridViewData();
})
please tell me if it doesn't work
Regards,
Dinesh kumar.L
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.