fix(ngWidget): fixed memory leak