Amit,

This is the only recommend way to use ng-init.

try this `<tbody ng-init='dataOnesData=dataOnes()' ng-repeat="dtataOne in 
dataOnesData">`

and this: `<a ng-init="d3=Getdata(data3)" href="javascript:void(0);"  
ng-repeat="tg in d3" ng-click="ShowData(tg)">{{tg.count}}</a>`

It might be needed to put the ngInit in a separate element just before the 
repeats, I don't think it will work exactly like this, but I hope you get 
the gist of it.

If not, build a plunk out of your problem, and I will take a look at it.

Regards
Sander 

-- 
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.

Reply via email to