Child pages
  • Angular services

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is recommended to have a suffix "services" as the service package name. (for example default servoy services are found into "servoyservices" directory). To avoid naming collisions between components and services packages. Furthermore, in order to avoid naming collisions among sevices themselves, a new service name should adhere to the same naming convention as WebComponents: Specification.  

A service can get it scope from the $services angular service/factory that the system provides. On that factory you can ask for the service scope: 

...