Open mraible opened 7 years ago
This is pretty easy to do with Angular's $timeout service. For example:
$timeout
$timeout(function (){angular.element('#sp-login').focus();});
It seems like we should just do this in the link function for the login directive, that way we can reference the element by the local field ID, and not a global element ID.
This is pretty easy to do with Angular's
$timeout
service. For example: