johannesjo/ng-fab-form

Null Reference Error during $destroy

Closed this issue · 1 comments

Hi,

just found another bug during $destroy. Please take a look at line 611 I guess and add These if-statements around.

// destroy private scope set for validations
if(currentValidationVars){
if(currentValidationVars.privateScope){
currentValidationVars.privateScope.$destroy();
}
}

Thanks for reporting! That should be already fixed with the latest release.