Loading ng-include partials from local pre-loaded (JST) template cache
问题 I have my template pre-loaded in a javascript string array, like var t = JST['firstTemplate'] , where t would be like, <div>This scope has a value of {{value}}</div> How can I use this pre-loaded template in an ng-include directive? Note that my template in this scenario can be more complex, with possible nested view and templates and their own nested scopes and controllers. So I am not sure if any of the ng-bind directives would help? UPDATE: Looking at the source of ng-include it appears