page contains table with entities and when user clicks modal window appears with own model
refusals.hbs:
{{#each model}}
<tr>
<td>{{#link-to 'refusal' this}}{{id}}{{/link-to}}</button></td>
<td>{{username}}</td>
<td>{{fullname}}</td>
<td>{{regnumber}}</td>
<td>{{type}}</td>
<td>{{amount}}</td>
</tr>
{{/each}}
{{outlet}}
refusal.hbs:
<div class="modal fade" id="refusalModal">
<div class="modal-dialog"> {{username}}
...
</div>
</div>
Searching for examples lead me to ember view, so my questions is: is there a true standard way to operate with modals? My example works fine except i don't know where to call $('#refusalModal').modal('show')