You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
When I open the modal from insida a controller for a route say /screen1,
it displays 1 + 1 = 2.
But now if I close the modal and go to some other route say /screen2
and click browser's back button to again go to /screen1 and on reopen the modal, it displays 1 + 1 = {{ 1 + 1 }}
I don't know why the scope gets detached on the second occasion.(I don't see any JS errors.)
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I display modal dialogs from controllers like this -
The issue is that it breaks on route change.
Consider
template.html
with content:When I open the modal from insida a controller for a route say
/screen1
,it displays
1 + 1 = 2
.But now if I close the modal and go to some other route say
/screen2
and click browser's back button to again go to
/screen1
and on reopen the modal, it displays1 + 1 = {{ 1 + 1 }}
I don't know why the scope gets detached on the second occasion.(I don't see any JS errors.)
Thanks in advance.
The text was updated successfully, but these errors were encountered: