ianwalter/ng-autofocus — pull request #1 by jljouannic (2014-11-19 20:54:02+00:00)
Title: Support of autofocus in a modal

The directive does not work when a form is loaded in a modal. It can be solved by wrapping the `focus()` call in the `$timeout` service. See http://plnkr.co/edit/NTSKnADit8nHhX4BSsTp?p=preview