Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(modal): remove an unnecessary $digest
Optimized opening of modals by causing one digest loop less: The modalBackdrop directive now schedules switching its animate flag using a $timeout which does not cause a digest loop. If we assume modalBackdrop is always followed by a modalWindow directive, then we are guaranteed a digest loop by modalWindow's $timeout, which will happen after modalBackdrop's $timeout.
- Loading branch information