Hello i'm trying to display data inside a table, which is suppose to 
display a few separate type of table data depending on what link is 
selected at the time. I'm using ng-repeats inside a table class and using 
divs sadly to do the repeats. Once i get to the <tr> tags within the code i 
can't seem to output the ng-repeat data, it's as though another scope 
happens or inside the <tr> tag it's unaware of any of the ng-repeat data. 
Can anyone help? the code is: 
http://embed.plnkr.co/6LJQiHSmKYMgiwCpKWju/index.html.

The exact same happens when i start using ng-if as well, however when using 
ng-if inside a div which is inside the table it does not seem to recognize 
the ng-if, however i've placed it inside the <tr> tags to fix this. Anyways 
the exact same problem happens when i put the ng-if inside the <tr> code, 
this is probably firstly due to the <tr> just breaking and being unable to 
see the ng-repeat data and also i heard ng-if creates a new scope, so i 
guess i need to use {{$parent.element.variable} to display it however i 
can't test this easily since it's breaking within the code and i would like 
to fix this first so can anybody tell me how i may go about this simply, 
i'd prefer not to use filters, directives, or whatever else may fix this 
code but simply only use code inside the view.

Thanks for any help!

-- 
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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to