Fixing issues with ngtemplates task