Let's start with the very first difference, Library and Framework.

Let's have a look at what these terms actually mean.
Library
A library is nothing but just a collection of functions that are useful in web applications to do tasks like DOM manipulation and HTTP requests, for example jQuery and underscore.js. Code that we write will be in charge and calls into the library.
Framework
The framework actually holds the common functionality of the application, it calls code written by the developer and makes things happens. In this case, the framework is in full charge of our code for example, backbone.js and angularjs.
Let's check the features of AngularJS and jQuery.
AngularJS Features
Data Binding
Routing
Unit Testing
Dependency Injection
We have reusable component(Directives, Custom Directives)
Deep linking
Form Validation
Animation support
jQuery Features
DOM manipulation
Event Methods
Effects and animations
AJAX calls
Comparison (AngularJS and jQuery)
jQuery and AngularJS have some common features like Unit test runner, animation support, AJAX/JSONP but they also have some differences.
AngularJS came with RESTful API whereas we don't have that in jQuery.
AngularJS supports the MVC pattern whereas jQuery doesn't.
AngularJS has the feature called Two Way Data Binding whereas we don't have that in jQuery.
Deep Linking Routing is supported by AngularJS whereas jQuery doesn't.
The AngularJS file size is quite heavier than that of the jQuery file size.
We can prefer AngularJS only if we are developing a heavy web application.
jQuery Example

- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>jquery example</title>
- <script src="js/jquery-1.11.2.js"></script>
- </head>
- <body>
- <script type="text/javascript">
- $(function () {
- $(document).keyup(function () {
- var name = $("#txt").val();
- $("#lbl").html(name);
- });
- });
- </script>
- <div>
- Name <input type="text" id="txt" placeholder="please enter name" />
- <h1 ><b id="lbl"></b></h1>
- </div>
- </body>
- </html>
AngularJS Example
- <!DOCTYPE html>
- <html data-ng-app>
- <head><title>ang example</title>
- <script src="js/angular.min.js"></script>
- </head>
- <body>
- <div>
- Name <input type="text" placeholder="please enter name" data-ng-model="name" />
- <h1>{{name}}</h1>
- </div>
- </body>
- </html>

Thanks!

Shridhar SharmaPosted Jun 20, 2015, 2:49 PM
Thanks Santhakumar Munuswamy and Debasis Saha :)
Debasis SahaPosted Jun 20, 2015, 5:21 AM
Nice Post
Santhakumar MunuswamyPosted Jun 20, 2015, 2:35 AM
Thanks for nice article
DhanasekarPosted Mar 20, 2015, 2:18 AM
Nice post
Tom MohanPosted Mar 11, 2015, 12:18 PM
good
Shridhar SharmaPosted Mar 11, 2015, 10:08 AM
thank you all. Glad to know that you people finding this worthfull. Coments made my day.
Abhishek JaiswalPosted Mar 11, 2015, 10:07 AM
I think you need to include a conclusion in this article and summarize it. Rest is good. :)
Rahul BansalPosted Mar 11, 2015, 10:01 AM
Great
Gowtham RajamanickamPosted Mar 11, 2015, 10:00 AM
really good and amazing...
ROHAN PANDEYPosted Mar 11, 2015, 6:05 AM
Nice
NitinPosted Mar 11, 2015, 5:29 AM
nice
Rahul Kumar SaxenaPosted Mar 11, 2015, 3:06 AM
Good Show..
Humayun Kabir MamunPosted Mar 11, 2015, 1:32 AM
Nice...
sooraj singhPosted Mar 11, 2015, 12:31 AM
nice article