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

1 Answer

0 votes

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 Oct 12 in Python by rajeshsharma
0 votes
asked May 16, 2020 in Python by Robindeniel