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 28, 2017. It is now read-only.
Right now i think it's kind of messy that when you go back from the modal, the whole view and controller from the previous state will refresh.
Fixed the back-button issue with this line of code tho...
´$scope.$on('$stateChangeStart',
function(event, toState, toParams, fromState, fromParams){
//Will basically only emit in this route, but better be careful anyways
$scope.$evalAsync(function () {
if(fromState.name == 'videoDetails')
$modalInstance.dismiss(/*TODO: Store the progression of the video*/);
});
});´
And that produces a exception which angular are supposed to fix some time soon i hope. Atleast they have it on their backlog: angular/angular.js#5658
Discarded the work, fixing this some other time :D 👯
No description provided.
The text was updated successfully, but these errors were encountered: