Habit-tracking app in Typescript using Angular JS