Angular 2 Essential Training | Session 16 Bootstrapping The Module For The Browser

Video ready, click here to close ×

Angular is a development platform for building mobile and desktop web applications.
Facebook Page :

With an Angular root module…and a starting component created,…the next step to getting the foundation…of an Angular app up and running…is the code to bootstrap the module.…We can add a file named main.ts to the app folder…and put the bootstrap logic in that file.…Angular actually has support for running…on multiple platforms.…The browser is considered a platform.…The server and web worker are examples of other platforms.…Other third-party bootstraps could also be used…to provide support for other platforms.…

For this app, we are targeting the browser,…so we need to bootstrap from that platform.…Angular exports a platformBrowserDynamic function…for targeting the browser…from the platformBrowserDynamic-scoped package.…So we can import platformBrowserDynamic from there.…This function returns a platform object…that has a bootstrap module function on it.…That is the function you will use…to bootstrap your root module on the platform.…

Note that earlier we were importing class types,…and here we are importing a function.
angular 2 tutorial,
angular 2 tutorial for beginners,
angular 2 routing,
angular 2 vs react,
angular 2 forms,
angular 2 cli,
angular 2 material,
angular 2 observables,
angular 2 visual studio 2015,
angular 2 testing,
angular 2,
angular 2 app,
angular 2 animation,
angular 2 authentication,
angular 2 architecture,
angular 2 advanced,
angular 2 core,
angular 2,
angular 2 application,
angular 2 app tutorial,
angular 2 aot,
angular 2 bootstrap,
angular 2 basics,
angular 2 bootstrap 4,
angular 2 beginner,
angular 2 build,
angular 2 bangla,
angular 2 best practices,
angular 2 binding,
angular 2 bucky,
angular 2 basic tutorial,
angular 2 components,
angular 2 conference,
angular 2 cli tutorial,
angular 2 crud,
angular 2 complete course,
angular 2…


Leave a Reply

Your email address will not be published. Required fields are marked *