http://plnkr.co/edit/wuxnMOWhDIGHrjCOC5Bv?p=preview abouve is the write way of displaying message ,using ng-app is compulsory if u r trying to work with angularjs
On Thursday, February 7, 2013 2:27:07 PM UTC+5:30, yahya Kacem wrote: > > Hi, i'm not that experienced with angular, but what i understand from your > question that you have a code outside angular that generate the javascript > array and the you want to use it in angular, which ether mean that you'r > receiving the array through an ajax request if so you can make the request > from the controller using the $http and then you'll have the array in the > controller already, or you'r building the array with javascript then i > don't know how to go from there. > Anyway an example in plunker <http://plnkr.co/edit/gist:3510140> could > give more experienced guys around here an idea about your problem so that > they can help. > > On Thursday, February 7, 2013 7:00:58 AM UTC+1, Niddhi Garg wrote: >> >> Hi, >> >> I have to create a table using ng-repeat. >> The data for the table is stored in an array Object is javascript >> variable. >> How can I pass that Array Object to AngularJS controller, so that i can >> use it in ng-repeat and the further to delete rows etc. >> >> Its very urgent and i have been surfing net for past 1 week, but wasn't >> able to find a solution. >> >> Request you to kindly help asap. >> >> Let me know if I am not clear, will try to explain in detail. >> >> Thanks, >> Niddhi >> > -- 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/groups/opt_out.
