Is there a way in angular to lazy load component directly from the tag in html like <my-component></my-component>
?
during component template parsing, angular should load the entire component into the browser when it finds any new tag which is not available in html or not already loaded.
I know we can load a module using loadChildren
which is only specific to routing and also need to load the module and its component. I am searching only for component and directly the component not the module.
I dont want to use router or dont want to import the component ot module in my application. I want when angular2 will find a tag which is not in html5 it will search in a spcictfic folder and load the js and html file and inject that component in the specific tag