-client/
index.html
node_modules/
..
..
js/
-controllers/
-directives/
-services/
app.js
partials/
someHTML.html
anotherHTML.html
build/
-app.js
-custom.css
...
-server
server.js
All my partial html templates which are used by Angular directives, controllers etc reside in the build folder. I use gulp to build the project, which does all the usual tasks like clean the destination folder, compile stylus and place it in build folder, move bootstrap.css to build folder, browserify the .js files and mvoe to build folder. So far so good.. but how does one deal with the html templates that in the partials folder ?
Are these simply to be copied over to build folder ?
As per @JimL suggestion .. i am using browserify currently where my main app.js looks like this
/*jshint globalstrict: true*/
'use strict';
require('es5-shim');
require('es5-sham');
require('jquery');
require('angular');
var app = angular.module('app', [require('angular-ui-router')]);
require('./controllers');
require('./directives');
require('./services');
Now, how does template cache fit in the above equation ? the template.js file is created and placed in the build folder.. this is not available to browserify yet.