What is constant in angularjs?



What is constant in angularjs?..

Answer / Nirbhay Narayan Pandey

In AngularJS, `constant` is a service that allows you to define values or objects that are known at module compilation time. Constants can be injected into controllers and services without being modified.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Why is it called angular?

1 Answers  


What is $inject in angularjs?

1 Answers  


How to implement internationalization in angular js?

1 Answers  


Why to use AngularJS?

1 Answers   CTS, SLK Software,


Does apple use angular?

1 Answers  


How are performance improvements on the core in Angular 8?

1 Answers  


What is the purpose of ngmodule??

1 Answers  


How to use {}, [], [] and [()] in angular2 template?

1 Answers  


How AngularJS is compiled?

2 Answers  


Ln component and service which logic that we have to write?

1 Answers  


What are the components in angular2?

1 Answers  


What is data binding and its types?

1 Answers  


Categories