Component generators for AngularJS