updated directives template angularjs