Skip to content

Instantly share code, notes, and snippets.

@symac

symac/main.js

Created Oct 24, 2018
Embed
What would you like to do?
let app = angular.module('viewCustom', [
'angularLoad',
]
);
app.component('prmSearchBarAfter', {
bindings: { parentCtrl: '<' },
controller: 'prmSearchBarAfterController',
// templateUrl:'/primo-explore/custom/33PUDB_UBM_VU1/html/libqual.html'
});
app.controller('prmSearchBarAfterController', ['$location', function($location) {
var userSessionManagerService = this.parentCtrl.$scope.$root.$$childHead.$ctrl.userSessionManagerService;
var result = userSessionManagerService.jwtUtilService.jwtHelper.decodeToken(userSessionManagerService.getJwt());
console.log(result);
}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.