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.