What would you not put the shared module?



What would you not put the shared module?..

Answer / Poojatyagi

You should avoid putting services that have dependencies on application-specific components in a shared module. Shared modules are meant to contain reusable components, directives, and pipes, but not application-specific business logic or services with dependencies that may not be available in other parts of the application.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What does transclude mean?

1 Answers  


What is innerhtml in angular?

1 Answers  


Explain what is the difference between link and compile in angular.js?

1 Answers  


How to add rows in angular js?

1 Answers  


What is the difference between a link and compile in angularjs?

1 Answers  


What is the difference between angular 1(angularjs) and angular?

1 Answers  


Which components can be injected as a dependency in angular js?

1 Answers  


What is pipe?

1 Answers  


What are the features of bazel?

2 Answers  


What is the difference between ng-if, ng-show/ng-hide?

1 Answers  


What is a controller?

1 Answers  


Do you think that parent controller can access the methods of child controller or vice versa?

1 Answers  


Categories