Skip to content

Releases: justinsa/angular-navigation-service

Fixed bug with inAudienceValidationFunction

23 Jun 03:32
Compare
Choose a tag to compare

The inAudienceValidationFunction that can be overridden through configuration had a no-op statement that was flattening the array of userRoles instead of mapping the array using the roleToAudienceMapFunction. It now both maps the roles and flattens (one-level deep) the resulting mapped values.

Added support to the inAudience method to work with arrays as arguments instead of just direct string values. You can now call inAudience('A', ['B', 'C'], ['D']), which is equivalent to inAudience('A', 'B', 'C', 'D'). The call will flatten arrays that are one-level deep only.

Extensions Support

30 Apr 06:24
Compare
Choose a tag to compare

Add support for extensions to the interface by implementors. This provides a configuration mechanism for extending the $navigation service to expose application specific objects and functions.

Rename main file to ng-navigation-service

14 Mar 07:20
Compare
Choose a tag to compare
  • Renamed the main file from: angular-navigation-service.js, to: ng-navigation-service.js to be consistent with the package name.

NPM release

07 Mar 05:55
Compare
Choose a tag to compare

Removed bower dependency for development environment and removed hard dependency on ng-local-storage-service and ngCookies, which are now dynamically injected when required.