Commit cfffa7ac authored by Gerrit Hübbers's avatar Gerrit Hübbers 🃏
Browse files

Add some comments for clarification.

parent 4dda963f
......@@ -58,7 +58,7 @@ angular.module('ddaApp')
// retrieve the identity data from the server, update the identity object, and then resolve.
.then(function (account) {
_identity =;
_identity =; // a custom response interceptor in Account resource provides us with the full response object
_authenticated = true;
......@@ -6,7 +6,9 @@ angular.module('ddaApp')
'get': { method: 'GET', params: {}, isArray: false,
interceptor: {
response: function(response) {
// expose response
// expose response
//somehow jHipster wants to have access to the full response object instead of the default see Principal service identity() method
return response;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment