Angular Commands

  • ng new ProjectName – creating a new project file
  • ng serve -o — running application
  • ng generate component Pagename — creating a new page
    • ng g c Pagename — creating a new page
  • ng g s ServiceName — creating a service page
  • ng g class NameOftheModel –type=model /*creating a model class*/

Leave a Reply

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