<nav class="demo-navigation u-nav" id='menu'>	
<%for(var i=0;i<data.length;i++){
var group = data[i];
if(group.parentId!='0'){
%>
       <a class="u-nav-link" href="<%=group.funcId%>"><i class="fa fa-users"></i><%=group.name%></a>

<%}}%>
</nav>