Code Editor
Web Browser
Learn

Directives are a core feature of AngularJS. So far we've used custom directives to simply display static content, but they can do more than this. It's possible to bake interactivity into directives.

Let's start creating another directive that reacts to a user's click.

Report a Bug
If you see a bug or any other issue with this page, please report it here.