I'm not sure if the syntax will be the same for you (we use stealjs to load templates, and use the resulting functions directly), but we had to pass a second argument with the partials:
- self.element.html(
- myTemplateFn({
- slides: self.options.slides,
- tiles: self.options.tiles
- }, {
- partials: {
- viewTiles: self.options.viewTiles,
- viewCarousel: self.options.viewCarousel
- }
- });
- );