What classes should I not add to module's declarations in angular 4?



What classes should I not add to module's declarations in angular 4?..

Answer / Abhinaya Bhullar

You should not declare directives or components that are not used in any template of the current module, as this can lead to unnecessary memory usage and potential errors.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What are differences between components and directives?

1 Answers  


Does google own angular?

1 Answers  


What is scope in javascript?

1 Answers  


How to get actions of event binding in angular 4?

1 Answers  


Is AngularJS a library, framework, plugin or a browser extension?

1 Answers  


Can you explain to $on and/or $watch ?

1 Answers  


Is angular 4 a framework?

1 Answers  


What happen when I import the same module twice in angular 4?

1 Answers  


Explain what is a factory method in angularjs?

1 Answers  


What is $sce?

1 Answers  


When should we use an attribute versus an element in custom directives?

1 Answers  


How to load select box during page initialization using AngularJS?

1 Answers  


Categories