AngularJSUse of in-built directives