Hey there, I'm having an issue with my navigation when using ng-if condition in ul. Can someone please assist me with resolving this problem?
<nav id="menu" class="nav-main" role="navigation">
<ul class="nav nav-main" ng-if=" $ctrl.getCurrentUser().user_type == 'Customer'">
<li class="">
<a href="/dashboard">
<i class="fa fa-home" aria-hidden="true"></i>
<span>Dashboard</span>
</a>
</li>
<li class="nav-parent">
<a href="#">
<i class="fa fa-table" aria-hidden="true"></i>
<span>Jobs</span>
</a>
<ul class="nav nav-children">
<li><a href="/addjob">Add New Job</a></li>
</ul>
</li>
<ul class="nav nav-main" ng-if=" $ctrl.getCurrentUser().user_type == 'Customer'">