Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Is it a good or bad practice to use AngularJS together with jQuery?

user-image
Question added by MD Maruf Billah , Mis Specialist , CARE Bangladesh
Date Posted: 2017/07/29
Sinthujan Pakkiyarajah
by Sinthujan Pakkiyarajah , Senior Front End Developer , S60 Enterprises Ltd

There is no any problem with each other but I would like to add something in, never mess with dom using JQuery which is being used by AnuglarJS. In Jquery manipulatinng the DOM is fine. But in Angular it is always better to allow the angular to render the DOM by modifying the model.

Bharpur Kour
by Bharpur Kour , Assistant Professor , Mentor- P.k Bishnoi

No, it is not a good idea. You are using jQuery coding practices in an Angular app and this will cause you headaches - for once because those practices go against the Angular spirit, and also because you won't reap the benefits of Angular.

Neeraj Neeraj
by Neeraj Neeraj , Software Engineer , Carefusion

No, If you are using AngularJs then it is a bad practice to use Jquery try to find the solution in Angular Itself

Deleted user
by Deleted user

First of all clear your concept that both jQuery and Angular are the subset of javaScript. And jQuery provides you small easy functions for effects whereas Angular in a complete javaScript MVC framework.

To put it more simple Angular built full working site whereas jQuery plays a part in it just by applying animations, functionalities and validations. that all I hope you understand

Deleted user
by Deleted user

Its a Bad Practice, because angular js supports full fledged development of jquery

Neville D'souza
by Neville D'souza , Contractor , BNP Paribas India Solutions

No. Angular supports all the functionality which is provided by JQuery.

However, we there is not restriction on using JQUERY and we can use JQUERY without breaking angular code but not advisable.

Jamsheed Bp
by Jamsheed Bp , Senior Software Engineer , BNC Networks

Its a bad practice. But most of the case its unavoidable.

Mustafa Mohammed Ameen alKubasiy
by Mustafa Mohammed Ameen alKubasiy , web design , Options

there is no necessary 'good' or 'bad' answer , it depends what you want.

if you choose AngularJS , you should follow AngularJS' concept & Design 

AngularJS will meet almost yuor requirment

As we can do everything using angular Js that can be done using jQuery, it's better not to use jQuery. But of course, technically, it is possible to use jQuery along with angular js though. Angular Js offer MVC based complete framework and jquery is just a library of functions. I think it does not makes any sense to use jquery together with angular Js

Sabitha Ahammed jaleel
by Sabitha Ahammed jaleel , Full Stack Software Engineer , Dubai Airports (Client of NIIT Technologies)

If we choose AngularJS, we should follow AngularJS's concept & design, AngularJS will meet almost ourrequirments.

However, we can use jQuery to do some work conveniently without breaking AngulaJS's design.

my principle, avoid jquery if AngularJs works, use jquery only when necessary

Mo'men Mohamed
by Mo'men Mohamed , Senior Frontend & WordPress Developer - Remotely , TheCodeFactory

JQuery is unnecessary in this scenario and using it is a really bad way to get started with AngularJS. If you are going to use a framework then it is best to commit to using it properly. An hour or 2 studying a getting started guide will save you a lot of pain later.

More Questions Like This