nl_tokens: Set a bootstrapSwitch parameter according to the angular - bound attribute . The parameter will be changed only if the switch has already been initialized ( to avoid creating it before the model is ready ) .
pl_tokens: function ( element , attr , modelAttr ) { if ( ! isInit ) { return ; } var newValue = getSwitchAttrValue ( modelAttr ) ; <mask> . bootstrapSwitch ( attr , newValue ) ; }