Code from an angular meetup for beginners