directives: create asLabel directive