Focus Element Directive - AngularJS

AngularJS Sep 11, 2017

Hi Guys,

Just a quick post about a small angular directive that can be very helpful if you want to focus elements on pages.
For example, as soon as you open up a page, you want first input box to be highlighted. In these kind of scenarios, I have found this directive very helpful.

Below is the code:

Related Tags:

AngularJS   JavaScript