D
D
Dmitry Yakovlev2014-10-15 12:45:03
JavaScript
Dmitry Yakovlev, 2014-10-15 12:45:03

Is it recommended to use angularjs in conjunction with jquery?

When developing a site, I understand that I must choose one thing. Either angular or jquery. Am I thinking right? If so, how to replace the various plugins, sliders, etc., which are in a wide range for jquery.
After some searching, I found this:
angular-ui.github.io/#ide-plugins
there is also bootstrap, which also does not require jquery and jquery-ui.

Has anyone used it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Denis, 2014-10-15
@cjbars

IMHO, they work great in pairs, they just work for different needs.
And plugins for Jquery are perfectly attached through directives (for example) or are generally made in three lines of code in angular itself.
jQuery - takes the DOM - parses it and lets them spin
angular - takes the data - and makes it into the DOM
the direction of the work is the opposite, as it were

A
akarin, 2014-10-15
@akarin

One does not interfere with the other (and if it does, then jquery-docs.ru/core/jquery-noconflict/), you can also fasten the underscore.
jsbin.com/AVeTini/3/edit

M
Mikhail Moskalev, 2014-10-16
@Mr_Franke

Only the angular way does not imply working with the DOM anywhere except for directives. In addition, Angular itself has jqLite, which does an excellent job with most tasks, and jquery as a whole becomes needed only for working with plugins.

M
Maxim Grechushnikov, 2014-10-15
@maxyc_webber

I don't think it will conflict. just use both tools wisely

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question