Asked • 06/19/19

AngularJS ng-if problems with 'f' and 'F'?

Can anybody explain to me why Angularjs `ngIf` directive reads 'f' and 'F' like `false`? Simple example which does not work: <input type="text" ng-model="test" /> <div ng-if="test">{{test}}<div> If you put 'f' or 'F' nothing shows in div, any other letter or sine works ok. Demo: http://plnkr.co/edit/wS4PqmARXG2fsblUkLpH?p=preview

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.