AngularJS Is a client-side MVC JavaScript framework for writing single page web applications(SPA). Directive means extending basic HTML elements/attributes and create reusable and testable code. AngularJS has a set of built-in directives which offers functionality to your applications. AngularJS also lets you define your own directives.