First, you should must know about framework vs library,
-
Framework: Which describes how to show your code. Its like a code-template having MVC or MVVM architecture. Examples, “AngularJS”, “Backbone”, “requireJS”, “socketIO”.
-
Library: Its like a toolkit and/or a single file having all the utility functions which can be used to play with your DOM elements event or to manipulate them. You can add.remove elements dynamically, add/remove CSS classes, styles or elements, etc. You can say the flour is ready to make chapati or paratha whatever you like. Examples “jQuery”, “MooTools”, “YUI”.
So, clear from the difference, you need a library like jQuery
not a framework like Angular
.
solved Does AngularJS have any weakness (compared to JQuery)? [closed]