AngularJS Use of in-built directives