in Angular by
Q:
What do you understand by constants in Angular?

▼ Show 1 Answer

0 votes
by

In Angular, constants are similar to the services which are used to define the global data. Constants are declared using the keyword “constant”. They are created using constant dependency and can be injected anywhere in controller or services.

Angular JS
Learn More with Madanswer

Related questions

0 votes
asked Sep 3, 2020 in Git by SakshiSharma
...