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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -