How is AngularJS different from jQuery

前端 未结 6 1537
情歌与酒
情歌与酒 2020-11-28 16:51

I only know one js library and that is jQuery.
But my other coders in the group are changing AngularJS as their default library in new project.

I don\'t know any

6条回答
  •  醉酒成梦
    2020-11-28 17:26

    AngularJS : AngularJS is for developing heavy web applications. AngularJS can use jQuery if it’s present in the web-app when the application is being bootstrapped. If it's not present in the script path, then AngularJS falls back to its own implementation of the subset of jQuery.

    JQuery : jQuery is a small, fast, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler. jQuery simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM manipulation.

    Read more details here: angularjs-vs-jquery

提交回复
热议问题