How to access jQLite or jQuery with AngularJS?

Answer Posted / chaitanya

jQuery lite or the full jQuery library if available, can be accessed via the AngularJS code by using the element() function in AngularJS. Basically, angular.element() is an alias for the jQuery function i.e. angular.element() === jQuery() === $()

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are module loaders in angular?

453


What are the purpose of @ngmodule?

450


Explain ddo in angularjs?

474


What is ddo (directive definition object)?

447


Is angular front end or backend?

422






Does AngularJS have dependency on jQuery?

455


How to use sharedmodule in angular2?

463


What is the use of interceptors in angular 4?

439


What are the services in angular js?

440


What is ivy renderer?

448


What classes should I not add to module's declarations?

439


What are the security threats should we be aware of in angular 2?

405


When to use ngoninit and constructor in angular 2?

422


What are events in angular?

412


Explain Authentication and Authorization?

476