/**
 * Module dependencies
 */

var nghtml = require('nghtml');
var jade = require('jade');

module.exports = function(builder) {
  var features = [];

  nghtml({
    webroot: 'public',
    extension: '.jade',
    confProp: 'angular-templates',
    hook: function (content, filename) {
      var opts = {
        filename: filename
      };
      var out = jade.compile(content, opts)();
      return out;
    }
  })(builder);
};

@@ -84,16 +84,55 @@
 'jade');
+%0Avar extname = require('path').extname;
 %0A%0Amodule
@@ -237,16 +237,17 @@
 on: 
+%5B
 '.jade',
 %0A   
@@ -242,16 +242,26 @@
 '.jade',
+ '.html'%5D,
 %0A    con
@@ -329,16 +329,73 @@
 name) %7B%0A
+      if (extname(filename) !== '.jade') return content;%0A
       va

add support for plain html partials