Child pages
  • Angular services

Versions Compared

Key

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

...

A service can have a method called "cleanup" that will be called when solution is closed in order to clear its state.

It is possible to use TypeScript for writing the service code, see How to use TypeScript for Web Package projects