nl_tokens: -- initialization methods Initialize the controller setup watchers gather elements
pl_tokens: function init ( ) { $mdUtil . initOptionalProperties ( $scope , $attrs , { searchText : '' , selectedItem : null , clearButton : <mask> } ) ; $mdTheming ( $element ) ; configureWatchers ( ) ; $mdUtil . nextTick ( function ( ) { gatherElements ( ) ; moveDropdown ( ) ; // Forward all focus events to the input element when autofocus is enabled if ( $scope . autofocus ) { $element . on ( 'focus' , focusInputElement ) ; } } ) ; }