code snippets useful for learning and understanding how angular.js works taken from egghead.io screencasts