Add the attributes of the model as data attribute in case there is a need for more in the HTML.