I use lineman-browserify on lineman-augular-template
In the concat_sourcemap step
Running "concat_sourcemap:js" (concat_sourcemap) task
Verifying property concat_sourcemap.js exists in config...OK
Files: generated/angular/template-cache.js, generated/js/browserify.js -> generated/js/app.js
Reading generated/angular/template-cache.js...OK
Reading generated/js/browserify.js...OK
Writing generated/js/app.js...OK
Writing generated/js/app.js.map...OK
File "generated/js/app.js" created.
The template-cache.js appears before browserify.js, which will leads to Uncaught ReferenceError: angular is not defined in the browser because augular is not usable until browserify part is loaded. Thus it is not available in template-cache.js because it has not been loaded yet..
I use lineman-browserify on lineman-augular-template
In the
concat_sourcemapstepThe
template-cache.jsappears beforebrowserify.js, which will leads toUncaught ReferenceError: angular is not definedin the browser because augular is not usable untilbrowserifypart is loaded. Thus it is not available intemplate-cache.jsbecause it has not been loaded yet..