See more
If you manipulate it by using a directive (common use case), probably that most of you will use nativeElement directly like this:
Note: since Angular 6, services don’t need to be registered in a module anymore. The use of “providers” in a NgModule is now limited to overriding existing services.
…t thing we can do is not changing our mind when data or experience clearly suggests that we should. The worst thing is being consistent for the sake of being consistent to of fear to upset other people. It means being stagnant without any progress.