S
S
Sergey2014-03-31 14:49:14
Angular
Sergey, 2014-03-31 14:49:14

How to properly extend the functionality of a third-party library in AngularJS?

When working with third-party libraries, sometimes it is necessary to expand the functionality of a module, directive, or template. But at the same time, if possible, it would be good not to touch the code of the original library.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maxaon, 2014-03-31
@hopest

The main method of manipulating $provide.decorator
But libraries must be written appropriately, because JS does not contribute to this. Demo 1 Demo 2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question