AngularJS: remove/hide a parent but keep the child -
in angularjs, how hide/remove element without hiding/removing it's children.
<div class="hide-or-remove-me"> <p>leave me here.</p> </div>
is there built in angular directive?
<div class="hide-or-remove-me" ng-click="show = show!" ng-show="show"> <p>leave me here.</p> </div> <p ng-click="show = show!" ng-show="!show">leave me here.</p>
it's variant.
Comments
Post a Comment