The angularjs ng-show directive seems to interpret N and NO values ββas falsification values.
In my angular app, I show country-specific data using the following <div ng-show="countryCode">some code</div> I was surprised to realize that the data related to Norway was not shown. And this is because the Norwegian country code is "NO", which is considered a false value !!
I do not know if this is a design choice. but if so, how do you deal with such problems?
Here you can play
Thank you in advance
source share