The main.ts file is the start point of your angular appliacation. It the same as main method in c#. When angular aplication run, main.ts file load first.