Angular Project structure and default component
In my previous blog we learnt how to setup angular project and run default app which created by angular cli. In this blog we will learn how to set up own home page and routing. Before this lets have a look on project structure : above project structure is being created by default when we create angular app . There are many folders and files but since we are in very begining stage so we will focus only src folder. When you expand the src folder you will see below folder and files : Lets expand src->app folder and understand this : in app folder we have : 1. app-routing.module.ts : it handles routing for app ,for now we need to have little knowledge of this module ,later we will learn in details. In angular we create components like *.component.html -for our template file and *.component.ts for our typescript file. Since our focus is more on practical so I am not going in details about these. If you want you can follow the angular site. So when we need to add any template file(