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
The definition on ui-router shows the boadcast function as:
$rootScope.$on('$stateChangeSuccess',
function(event, toState, toParams, fromState, fromParams){ ... })
Many of the broadcasts from angular-permissions are overloading the fromState with options:
$rootScope.$broadcast('$stateChangeSuccess', toState, toParams, options);
A number of my functions are expecting fromState rather than options and this is causing errors. Something i'm doing wrong ?
The text was updated successfully, but these errors were encountered:
lenniebriscoe
changed the title
Confused between Permissions and Roles
.$broadcast('$stateChangeSuccess
Mar 4, 2016
The definition on ui-router shows the boadcast function as:
$rootScope.$on('$stateChangeSuccess',
function(event, toState, toParams, fromState, fromParams){ ... })
Many of the broadcasts from angular-permissions are overloading the fromState with options:
$rootScope.$broadcast('$stateChangeSuccess', toState, toParams, options);
A number of my functions are expecting fromState rather than options and this is causing errors. Something i'm doing wrong ?
The text was updated successfully, but these errors were encountered: