.         Replace content of menu-dropdown to add an ID on the username DIV

 

------------------------

 

<meta name="replace" content=".menu-dropdown">

<div class="menu-dropdown" ng-class="{open: menuShown}"
ng-click="toggleMenu()">

    <div id=" USERNAMEDIV'" class="menu-title">{{menuTitle}}</div>

    <div class="menu-indicator"></div>

 

    <!-- Menu contents -->

    <div class="menu-contents" ng-transclude></div>

</div>

------------------------

 

.         Then you can access this variable by jquery. 

 

------------------------

 

$('#USERNAMEDIV').html()

------------------------

 

 

.         Don't forget that all variable used on the client side can be
hack.  You shouldn't use those variable for security.

 

 

Reply via email to