0 votes
in Angular by
What do you understand by constants in Angular?

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.

Related questions

0 votes
asked Jun 5, 2022 in Angular by Robindeniel
0 votes
asked Jun 5, 2022 in Angular by Robindeniel
...