Directives used in angular JS