Even better! This makes for even cleaner compiled DOM that doesn't have 
those ng-if comments.

Thanks.

On Monday, March 17, 2014 3:27:03 PM UTC-4, Sander Elias wrote:
>
> Hi,
> You should really do this a whole lot more dry!
>
> <div ng-click="showHideGroup(row)"  style="padding-left: {[{ getPadding(row) 
> }]}px;">
>     {{ row.children ? row.expanded ? "-" : "+" : "." }}}
> </div>`
>
> 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