update the navigation with directive ng-class