directives

implemented directives to achieve coursel directive