Skip to content

HerringtonDarkholme/angular2-quickstart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular2-quickstart

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

Quick start

Clone this repo npm i and npm start and you are ready!

Couple of things you should pay attention

  1. Install and add map for moment.js in system.js config
'moment': 'node_modules/moment/moment.js'
  1. Import ng2-bootstrap in index.html before starting application
<script src="node_modules/ng2-bootstrap/bundles/ng2-bootstrap.min.js"></script>
  1. Use new forms
import {provideForms, disableDeprecatedForms} from '@angular/forms';

bootstrap(AppComponent, [disableDeprecatedForms(), provideForms()]);

Good luck with angular2 hacking!

About

Sample of how easy and fast to start hacking with Angular2 and ng2-bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.2%
  • TypeScript 26.1%
  • HTML 24.7%