One of my challenges involves using an Enum in typescript:
enum EnumCountries{
Canada=0,
USA=1,
Holland=2
}
When working in AngularJS, I encountered some difficulties incorporating it into the HTML. For example, this code snippet did not give the desired outcome:
<div ng-show="model.country==EnumCountries.USA">
I am striving to eliminate the use of "magic numbers" within the HTML.