A little angular.js prototype for practice