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
Fix default inAudienceValidationFunction
The function had a statement that performed no value:
_.flatten(userRoles, this.roleToAudienceMapFunction) resulted in the
userRoles array being flattened, but it should have been mapping the
userRoles with the roleToAudienceMapFunction. Fixed this behavior and
also extended the behavior so the roleToAudienceMapFunction can return
an array of values, which will then be flattened into the final
userAudience list.
Add support for extensions to service interface
Custom interface additions can now be added by an application
implementor for the specific needs of their application.
Rename main file to ng-navigation-service.js
* Rename main file to ng-navigation-service so it matches the package
name.
* Update to README for better explanation of dependency on
ng-authentication-service.
* Update version to 1.0.0.
Add goto and back functions
* goto handles changing the location path and whether or not to record
the transition in history. Uses standard mechanism in $location service.
* back handles navigating back to the previous page in history. Uses
standard mechanism in $window service.
Add tokenizePath utility function
Extracted path tokenization logic to an independent function so it can
be tested directly and reduce duplicate regex code in another function.
Add support for isActiveLocation partial route matching
isActiveLocation previously matched only exact routes. This failed for
multi-part routes because the top-level route is still active even
though it is not the exact route.