nl_tokens: *************************************************************************** mdNavItem *************************************************************************** @ngdoc directive @name mdNavItem @module material . components . navBar
pl_tokens: function MdNavBar ( $mdAria , $mdTheming ) { return { restrict : 'E' , transclude : true , controller : MdNavBarController , controllerAs : 'ctrl' , bindToController : true , <mask> : { 'mdSelectedNavItem' : '=?' , 'mdNoInkBar' : '=?' , 'navBarAriaLabel' : '@?' , } , template : '<div class="md-nav-bar">' + '<nav role="navigation">' + '<ul class="_md-nav-bar-list" ng-transclude role="listbox" ' + 'tabindex="0" ' + 'ng-focus="ctrl.onFocus()" ' + 'ng-keydown="ctrl.onKeydown($event)" ' + 'aria-label="{{ctrl.navBarAriaLabel}}">' + '</ul>' + '</nav>' + '<md-nav-ink-bar ng-hide="ctrl.mdNoInkBar"></md-nav-ink-bar>' + '</div>' , link : function ( scope , element , attrs , ctrl ) { $mdTheming ( element ) ; if ( ! ctrl . navBarAriaLabel ) { $mdAria . expectAsync ( element , 'aria-label' , angular . noop ) ; } } , } ; }