Angular 2 - Content of App Folder
Angular - 2 (Content of App Folder )
- Today I am going to talk about the the content of "app" folder in an Angular application . Src folder contains the main code files related to our angular application. App folder contains the files which we created for app components.
- app folder is included in "Src" folder and it consists five files which is needed to know to edit the Angular application.Those files are,
- we have to understand those different files to know, what is going on and which part is responsible for the outlook of the Angular app.
- app.component.css
This is the most important file of app folder, it controls the front page of node application.We can change the content on the front page and their respective links by editing the html file.
- app.component.spec.ts
This file is used for testing purpose only. Therefore we don't use this file in developing our application.
- app.component.ts
Comments
Post a Comment