Even though it’s much more lightweight than a typical framework, AngularJS better fits the definition of a framework, which is why many people confuse it with a library.