         content = """
         angular.module('#{module}', [])
         .run(function($templateCache){
-            $templateCache.put('#{shortPath}', '#{@escapeContent(content)}');
+            $templateCache.put('#{shortPath}', '#{content}');
         });
         """
 


TemplateWatcher.renderers =
    html: (code, path)->
        @wrap path, code, code
    jade: (code, path)->
        options = filename: path
        content = require('jade').render(code, options)
        @wrap path, content, code

module.exports = TemplateWatcher


    getModuleRoot: -> @config.templateModuleRoot

    render: (code, path)->
        extension = path.substr(path.lastIndexOf('.') + 1)
        TemplateWatcher.renderers[extension].call(this, code, path)
