I hope I understood your question right but I think all you have to do is
- steal bootstrap.js
- render the template into this.element
- initialize the Bootstrap plugin on this.element
Something like:
- steal('can/control/plugin', 'lib/bootstrap.js', function(){
- var MyCarousel = can.Control({
- pluginName : 'myCarousel'
- },{
- init : function(element, options, arg1){
- this.element.html(can.view('path/to/view.mustache', this.options)).carousel();
- }
- });
- });