This tiny repo is done according to angular2 quickstart guide just to show how simple it is to use angular2 with 3rd party ng2-* modules like this one: https://github.com/valor-software/ng2-bootstrap
Clone this repo
npm i and npm start and you are ready!
- Install and add
mapformoment.jsin system.js config
'moment': 'node_modules/moment/moment.js'- Import
ng2-bootstrapinindex.htmlbefore starting application
<script src="node_modules/ng2-bootstrap/bundles/ng2-bootstrap.min.js"></script>- Use new forms
import {provideForms, disableDeprecatedForms} from '@angular/forms';
bootstrap(AppComponent, [disableDeprecatedForms(), provideForms()]);Good luck with angular2 hacking!