<div class="center">
    <p>HTML:</p>
    <pre class="html" ng-non-bindable>
&lt;ya-template-layout ya-key="buttonTemplate"&gt;
    &lt;div class='my-button [if state.selected]my-button-selected[endif]'&gt;
        $[data.content]
    &lt;/div&gt;
&lt;/ya-template-layout&gt;
&lt;ya-map ya-zoom="10" ya-center="[37.62708,55.650625]"&gt;
    &lt;ya-toolbar ya-name="toolBar" ya-options="{right:5,top:5}"&gt;
        &lt;ya-control ya-type="button" ya-params="Жмак-жмак" ya-options="{layout:'buttonTemplate