Directives for angularjs framework