added example of a custom directive