title: Ember link-to handlebars and jQuery DataTables
body: <p>I have an Ember View that sets up jQuery Datatables when given a set of columns and a datasource.  In my case, this datasource is from Ember Data.</p>
  
  <p>I use this for an admin panel, so I'll list some rows from the model and then I'll allow admins to perform actions on these items.  Actions could include an 'Edit' link or maybe a 'Delete' link, etc.</p>
  
  <p>Right now, I use the Datatable's <code>mRender</code> functionality to create a link to the appropriate page.  This works just fine, but forces a browser refresh which is a little annoying.  I'd like to use Ember's <code>link-to</code> functionality instead.</p>
  
  <p>I tried something like this:</p>
  
  <p><code>Ember.Handlebars.compile('{{#link-to "modelName", ' + full.id + '}}Edit{{/link-to}}');</code></p>
  
  <p>However, compile will return a javascript function instead of straight html text.  Can anyone give me some advice or code snippet to help achieve this functionality?</p>
  
  <p>Here's a JSBin mimicking my current schema: <a href="http://emberjs.jsbin.com/aCAWIku/4/edit?js,output" rel="nofollow">JSBin Example</a></p>
  
  <p><strong>Update</strong></p>
  
  <p>I am using <code>location: 'history'</code> in the router instead of the traditional hash urls.</p>