Reputation: 3077
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?
Upvotes: 8
Views: 11363
Reputation: 12477
ngIf
is a new directive added in v1.1.5. JSFiddle has you on 1.1.1.
Upvotes: 23