added angularJS directives