0

I was just going through the code of a openlayers and angular directive HERE. can anybody explain to me what is the most fundamental difference between services and directives ?

I understand directives better , my understanding is that directives able a programmer to add addition ng tags to the existing one and make HTML recognize stuff that just plain native HTML would't otherwise recognize. But what purpose does services serve ?

Thank you.

Tenali_raman
  • 2,000
  • 3
  • 18
  • 28

0 Answers0