Added example spec for directive