Value

OpenSource For You - - DEVELOPERS -

Value is a sim­ple ob­ject and used to in­ject val­ues to the con­troller, fac­to­ries or ser­vices dur­ing the con­fig­u­ra­tion phase. It can be a num­ber, string or JavaScript ob­ject. A value must be­long to an An­gu­larJS mod­ule.

Here are some ex­am­ples that add val­ues to an An­gu­larJS mod­ule:

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.