For directive

The [bsFor] directive links a <label> to its associated input via a template reference, so clicks on the label focus the target control without needing a hand-maintained for/id pair.

Basic usage