javoire / browserify-ng-html2js

Browserify transform to compile html templates into angular template modules
MIT License
27 stars 17 forks source link

Require angular #15

Closed cgmartin closed 9 years ago

cgmartin commented 9 years ago

Added to the top of the partial output:

var angular = require('angular');

Fixes browserify error ReferenceError: Can't find variable: angular (encountered when unit testing code that hadn't required/loaded angular globally yet)

mchambaud commented 9 years ago

+1