Focus Element Directive - AngularJS

Focus Element Directive - AngularJS

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:

Lakshay Katney Avatar

Lakshay Katney

Saleforce developer by profession but I like to work with various technologies.I blog about, Hybrid Apps, PhoneGap, AngularJS, BackboneJS, JavaScript in general. I am Angular & NodeJS fan.

Read More
Share this page
Top 15 Posts