angular enum in html code example Example: enum angular enum Direction { Up = 1, Down, Left, Right,}Try