Important commands and files in Angular

ng-serve – to build the application and starts a web server
ng lint – checking the code with the coding standards
tslint.json – rules defined here
ng-build – to compile into an output directory
ng-test – to run your unit tests with karma the provided test runner.
package.json – dependencies defined here.
index.html – 1st running file in angular.
router-outlet
app.component.html – this is a template file which is used by Angular to do data binding.
app.component.ts – most important ts file which includes the view logic behind the component.

Ramesh Kumar S avatar

Posted by

Leave a comment