HSBC interview question

What are directives in Angular?