angular.js packaged for component