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.
$modal does not provide proper scope to templates. #2110
Closed
Description
When using templateUrl
, the resulting template will not have the same scope as the instance controller. Instead, it is in the scope as passed to the scope
option on $modal.open
.
This is an issue, because it means that there is effectively no method by which to get the modal's scope without resolving the modal.