how to store the json complete object in html element as a data attribute
var a = {name : "sample",age : "34"}
$.find('#someDiv").data("adata",a);
can we achive the same thing with handlebars while creating the template
<div id="someDiv" data-adata="{{a}}"></div>
is that possible?