4 ms·
What does your example have to do with functional programming? You've written two factories, pretty much exactly how AngularJS uses them, in an imperative styl
by zoomerang 12y ago
What does your example have to do with functional programming?
You've written two factories, pretty much exactly how AngularJS uses them, in an imperative style.
Regardless of which, this doesn't in any way solve the issue Angular Services are designed to solve (IoC).