SyntaxFix
Write A Post
Hire A Developer
Questions
You can try
angular.element('#<elementId>').focus();
for eg.
angular.element('#txtUserId').focus();
its working for me.