Angular directive that changes the header to display user information in the header after login