Fix processing task generator in ng-mode