I have a data table which represents some information about user 
authorization. At the head of the table there are action types such as:

InsertUpdateSelectDeleteApproveFull ControlDeny

At the left side of the table there are names for the action types. For 
instance when the user clicks for Insert and Update on the first row which 
is (Organization) new array is populated.

What i want to ask is, is there a better way to achieve the same output? I 
think the code looks messy because of using nested angular.forEach 
<https://docs.angularjs.org/api/ng/function/angular.forEach>

Thanks in advance.

Plnkr <http://plnkr.co/edit/ujcmTIqI4IcOJE9dlI6j?p=preview>

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