What is @injectable in angular?



What is @injectable in angular?..

Answer / Amit Singh Bisht

@Injectable() is a decorator provided by Angular's Dependency Injection system to denote a class as being eligible for injection. It should be applied to services and other providers that you want to make available for dependency injection within your application.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is the use of @Input and @Output?

1 Answers  


What are the advantages of angular 2 over angular 1?

1 Answers  


What is AngularUI router and how it is different from ngRoute?

1 Answers  


What is data binding in AngularJS?

1 Answers   SLK Software,


List out the advantages of angularjs?

1 Answers  


Explain the process of digest cycle in angular?

1 Answers  


What is angularjs architecture?

1 Answers  


What do you know about internationalization?

1 Answers  


Explain filter filter angularjs?

1 Answers  


What is an injector?

1 Answers  


Write a code to upload an image in angularjs?

1 Answers  


What is the latest angular?

0 Answers  


Categories