angular2-meteor-auto-bootstrap
This package handle the automatic bootstrap for Angular2-Meteor applications.
Without this package, your components should look like that: (with the viewProviders
in each one of them)
@@
This package adds the MongoCursorDifferFactory
into the defaults differs of Angular 2 so you don't need to add it to each component you create.
So in order to use this package, first make sure to install all the required dependecies:
npm install @angular/core
npm install angular2-meteor
npm install angular2-meteor-auto-bootstrap
And then import the bootstrap
from THIS package:
;
And then just init it like any other Angular 2 application, using the bootstrap
function:
@@ ;
For more examples and working code, please refer to the /examples/
folder in this repo.