Looking to create a similar functionality to the jQuery modal form Dialog in my AngularJS app to collect the username from the user.
I've tried using the twitter-bootstrap modal and AngularUI dialog, but both are lacking in two key areas:
- Auto-focus on the
username
textbox inside the modal when it opens. - Ability to submit the username by pressing the enter button.
Check out my previous unsuccessful attempt with twitter-bootstrap on PLUNKER. I'm now searching for a directive that can fulfill both of these specific requirements.