In this video we will understand about Angular Modules, then we will walkthrough the app.module.ts file.
Пікірлер: 9
@nas-codes9 ай бұрын
Components for index.htmk Do not understand it please someone explain
@simplacademy9 ай бұрын
Maybe it should have been explained better. The 'Component for index.html' is applicable only for the root AppModule. The 'bootstrap' property in AppModule helps to convey that the component specified in this property (AppComponent) is what should be represented as component for tag in index.html, hence the box 'Component for index.html' was included. It is mistake that it is included for each module, but it is applicable only for the root module which is the AppModule. Hope this clarifies. I will pin your question, so that others can get it clarified quickly.