We can still use the enum as we normally would from our typescript. Just in the view expressions we need access to this enum using a scope variable. I can live with this.