A
A
Alexey Yarkov2016-12-19 22:36:02
Angular
Alexey Yarkov, 2016-12-19 22:36:02

Is there such a way to create an angular factory?

DEMO
It just seems to me that it's very convenient. What pros and cons do you see?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2016-12-19
@yarkov

Use Object.prototype and don't override this. And it will be fine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question