There are two approaches when you are building an angular app, first is ng module which you are working in, second is standalone and it is introduced in angular 14, while standalone is newer many developer still working with ng module approach