This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
passing $event to close() brakes the close callback in controllerAs syntax #4386
Closed
Description
AngularJS 1.4.5
ui-bootstrap > 0.13.0
http://plnkr.co/edit/5UIOVj3sDYIyUoNScql9
Since ui-bootstrap 0.13.1 there is 44e06425
It brakes the close callback in controllerAs syntax.
Actually, it's superseded by "feat(alert): add templateUrl
support" 88a885ca, since ui-bootstrap 0.13.3.
So, passing $event to close() can be done with custom template without affecting controllerAs syntax.