applying angular tutorial for myself