Adding some angular js functionality from the "Shaping up with Angular.js" course