AngularJS: Library of custom directives