btford / angular-modal

Simple AngularJS service for creating modals
234 stars 58 forks source link

Resolve the activate-promise with the modal element #20

Closed tilt closed 10 years ago

tilt commented 10 years ago

Meant to provide a way to obtain and manipulate the modal element when it is rendered after its activation.

tilt commented 10 years ago

We could need this for accessibility reasons to easily set a focus on the modal when it's opened.

btford commented 10 years ago

There are other ways to get ahold of this element that are possibly/probably more appropriate.

Consider a directive within the modal's template, for instance.