F
F
faragly2015-05-05 13:28:57
JavaScript
faragly, 2015-05-05 13:28:57

Using jQuery and AngularJS together. This is bad?

Hello! Initially, I did not want to connect jQuery, but since the module I needed for AngularJS was not found, I connected jQuery to the case. Now the question is, is this correct, or should the developer be primarily concerned with the issue of the program's operation? I want a beautiful usability interface, for example, AngularJS does not have a normal dynamic and beautiful tooltip, and style customization is not a task that you need and want to get hung up on. And if you connect jBox, that's another matter... You don't need to customize anything, everything is beautiful and elegant right "their boxes".

The question is: is it worth sacrificing beauty, for the sake of not connecting jQuery, if it is an admin interface, without loads, or is it worth writing in AngularJS alone and not bothering with beauty? How do you write?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
N
Nikolay Talanov, 2015-05-05
@faragly

It's not bad. For in Angular itself, so much has been done through the ass that using jQuery in some places will be your least problem. But here it is very important to understand where and how to use this jQuery, because simply connecting a global file with jq code will not give special results due to the asynchrony of angular, so you still have to push jq code into all sorts of link functions and others places, so that the code will eventually turn out to be quite normal.

S
sim3x, 2015-05-05
@sim3x

write in one AngularJS and
use Angular Bootstrap UI
jsfiddle.net/y9ujn/5

A
Alexander Evgenievich, 2015-05-05
@banderos120

Considering that Angular itself cannot provide you with a convenient work with the DOM without JQlite , including JQuery will save you the headache and children().children().children().children() constructs

M
Mikhail Osher, 2015-05-05
@miraage

It is reasonable to use any third party plugin.
Just create a directive for it and initialize the plugin itself in the link function.

L
lega, 2015-05-05
@lega

This is normal, even at the office. Angular site uses jQuery, the main thing is to do it right.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question