Angular

Angular is an open-source JavaScript framework to build web applications in HTML and JavaScript.

It was built by the developers at Google. This framework was used to overcome the obstacles encountered while working with Single Page applications.



  1. Install Node.js
  2. Install Angular by using following command:

    npm install @angular/cli –g

  3. Use any editor to code angular, preferred editor is Code by Microsoft

  4. To create a new workspace and initial starter project:

    ng new my-app

  5. Run the application:

    cd my-app
    ng serve --open



Modules are used in Angular to put logical boundaries in your application.

Hence, coding everything into one application, you can instead build everything into modules to separate the functionality of your application.



Angular application is a build-up in the form of component.

Each Component comprises component.html, component.css, component.ts



Metadata is used to decorate a class so that it let you configure the expected behavior of the class.

Examples of the metadata: @Component, @Routes decorator, etc.