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