According to the angularjs web site
- a library - a collection of functions which are useful when writing web apps. Your code is in charge and it calls into the library when
it sees fit. E.g., jQuery.
- frameworks - a particular implementation of a web application, where your code fills in the details. The framework is in charge
and it calls into your code when it needs something app specific.
E.g., durandal, ember, etc.