added some directives in angularJS