Skip to content
Murhaf Sousli edited this page May 6, 2017 · 1 revision
  • Why should I use the directive?

The directive let you get the data directly from the template, it also has a loading indicator to display a spinner which the service doesn't have, use the directive to keep the code simple and focused on other things while the directive does the rest

  • Why should I use the service?

Just because you want to use the service 😁, both are very easy to use.

Clone this wiki locally