added example for angular directive