I'm just wondering why all service are defined in the prototype scope.
Some of them looks like just instances of your classes, so what is the advantage of calling them, instead of instantiating a plain object?
Other ones looks like just "plain" services, why should I get a new instance of them every time?
I'm just wondering why all service are defined in the prototype scope.
Some of them looks like just instances of your classes, so what is the advantage of calling them, instead of instantiating a plain object?
Other ones looks like just "plain" services, why should I get a new instance of them every time?