added post on directives in angular