Modular version of components/angular.js