Fixing issues with ngtemplates and uglify tasks to fix #4