nl_tokens: @ngdoc method @name form . FormController#$removeControl @param { object } control control object either a { @link form . FormController } or an { @link ngModel . NgModelController }
pl_tokens: function ( control ) { if ( control . $name && this [ control . $name ] === control ) { delete this [ control . $name ] ; } forEach ( this . $pending , function ( <mask> , name ) { // eslint-disable-next-line no-invalid-this this . $setValidity ( name , null , control ) ; } , this ) ; forEach ( this . $error , function ( value , name ) { // eslint-disable-next-line no-invalid-this this . $setValidity ( name , null , control ) ; } , this ) ; forEach ( this . $$success , function ( value , name ) { // eslint-disable-next-line no-invalid-this this . $setValidity ( name , null , control ) ; } , this ) ; arrayRemove ( this . $$controls , control ) ; control . $$parentForm = nullFormCtrl ; }