Understanding "restrict"

Objectives

  • Integrate restriction

Instructions

In this repo we've got directives named errorMessage and successMessage.

Change errorMessage to only be allowed to be used as an attribute.

Change successMessage to only be allowed to be used as an element.