Just fix A ----B -------C D ---E ---F ------G
Em terça-feira, 27 de maio de 2014 10h09min21s UTC-3, Diego Monteiro escreveu: > > Hi, > > Im trying do a tree view using angular-ui-tree. > But I´m having some difficulties with ng-show. > > Look the code pls > > //first level > <div ng-click="nivelShow = !nivelShow"> > <ul ng-repeat="data in datas"> > </div> > > //recursive other levels > <div ng-show="nivelShow" ng-click="nivelShow = !nivelShow"> > <ul ng-repeat="data in datas"> > </div> > > to do a tree > > A > B > C > D > E > F > G > > But when i click in "A", the tree shows "B" and "C", and i want that show > just "B", and if i click in "B", show "C"; > Same case if i click in "D". The right is show "E" and "F", and if i click > in "F", show me "G". > > > Thanks > -- 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.
