Sweet, sweet code from the Angular course on Codeschool