What would be the most lightweight JS templating for a scenario where you you want to build some divs to inject into the page somewhere out of JSON returned from an AJAX call? I'd like the ability to bind the JSON data to anywhere in the HTML...not just the text (although that would mostly be it) but also things like CSS class name. I've looked at
Angular and Knockout and Angular seems like overkill whereas with Knockout I don't like the style of putting directives in the tags.
Right now I am just building the div manually and that works great but it seems like binding the data into a template then inserting would be better.