May require some tinkering. Here's a sample library from an ng-conf talk: https://github.com/jasonaden/simple-ui-lib here's semi-related angular-cli issue: https://github.com/angular/angular-cli/issues/1692