Answer the question
In order to leave comments, you need to log in
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
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.
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
It is reasonable to use any third party plugin.
Just create a directive for it and initialize the plugin itself in the link function.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question