create angular todo functionality