Code snippets for Codeschool angularjs course.