nl_tokens: @ngdoc directive @name ngModelOptions @restrict A @priority 10
pl_tokens: function ( ) { NgModelOptionsController . $inject = [ '$attrs' , '$scope' ] ; function NgModelOptionsController ( $attrs , $scope ) { this . $$attrs = $attrs ; this . $$scope = $scope ; } NgModelOptionsController . prototype = { $onInit : function ( ) { var parentOptions = this . parentCtrl ? this . parentCtrl . $options : defaultModelOptions ; var modelOptionsDefinition = this . $$scope . $eval ( this . $$attrs . ngModelOptions ) ; this . $options = parentOptions . createChild ( modelOptionsDefinition ) ; } } ; return { restrict : 'A' , // ngModelOptions needs to run before ngModel and input directives priority : 10 , require : { parentCtrl : '?^^ngModelOptions' } , bindToController : true , <mask> : NgModelOptionsController } ; }