Add a new component to one's application

ng

  • Command-line Interface (CLI) for creating and managing Angular applications.
    More information: <https://angular.io/cli>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

ng generate component {{component_name}}

click the source code to copy install ng on any operating system with command-not-found.com