How to use jQuery with AngularJS?

Answer Posted / chaitanya

By default AngularJS use jQLite which is the subset of jQuery. If you want to use jQuery then simply load the jQuery library before loading the AngularJ. By doing so, Angular will skip jQLite and will started to use jQuery library.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what the link function is and how it differs from compile?

449


What does :host-context() pseudo-class selector target?

424


What is resolver in angular 2?

430


Explain custom filters with an example.

443


What is the ng in angular?

432






What is angular testing? What are isolated unit tests? What are angular testing utilities?

420


Explain about single and multithread in javascript?

409


What are the features of angular 7?

401


What is routing and navigation in angular?

450


Is angular modules and es modules are the same?

426


Doadd(1,2) doadd(1,2,3,4) use the above arguments to sum the value. Using without any parameter receive throught the function.?

513


What is the difference between a module’s forroot() and fairchild() methods and why do you need it?

451


How to delete a row in angular js?

437


What is if-else-and-then conditions in angular4?

435


How would you optimize the angular 2 application for better performance?

425