<nav id="local-nav">
    <ul class="nav nav-list">
        <li>
            <div>
                <span class="toggle">Activities</span>
            </div>
            <ul>
                <li ng-class="!path[1]&& 'active'"><a href="#/activities">Statistics</a></li>
                <li ng-class="path[1] == 'pages' && 'active'"><a href="#/activities/pages">Pages</a></li>
                <li ng-class="path[1] == 'events' && 'active'"><a href="#/activities/events">Events</a></li>
            </ul>
        </li>
    </ul>
</nav>