Why ng-if doesn't work for me in this example but ng-show does JSFiddle:
<div ng-if="false">text</div>
<div ng-show="false">text2</div>
and how to fix that?
ngIf
is a new directive added in v1.1.5. JSFiddle has you on 1.1.1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With