mercredi 16 décembre 2015

Why are factories (singletons) in Angular not a bad design?

Singletons are a bad idea for the most part. I believe everyone is on board with this concept. I am wondering why does Angular rely so heavily on factories for its dependency injection considering factories are singleons ? Why are singletons not a bad idea in Angular ?

Aucun commentaire:

Enregistrer un commentaire