Component based NodeJS / AngularJS implementation