Angular — Beginner Guide 2

  • Angular Setup
- Go to the nodejs site https://nodejs.org/en/. And download the latest version.- npm install -g @angular/cli- ng new my-first-project- cd my-first-project- ng serve
  • Create build
ng build 
ng build --configuration=<Environment Name>
  • Firstly index.html file gets loaded then Angular finds out the entry point from the configuration file angular.json, which is main.ts.
  • The platformBrowserDynamic loads the root module by invoking the bootstrap module and giving it the reference to the AppModule(Root module)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store