add directive snippet for angular