I have an Enum in typescript:
enum EnumCountries{
Canada=0,
USA=1,
Holland=2
}
In AngularJS I wish to use this in the HTML, but the following doesn't work:
<div ng-show="model.country==EnumCountries.USA">
I'm trying to get away from magic numbers in the HTML
$scopevariable -$scope.EnumCountries = EnumCountries