Component version of Angular.js