hide elements with specific atribute angualr code example
Example: hidden property input angular 2
<p [style.display]="hideElement?'none':'inherit'">
I am using hidden.
</p>
<p [style.display]="hideElement?'none':'inherit'">
I am using hidden.
</p>