How to get x-template from html file

How to get x-template from html file

Hi:
I meet a problem about how to get the x-template from html file.
the following is my x-template code snippet
  1.    <script type="text/x-template" id="TableTemplate">
  2.             <thead>
  3.                 <tr>
  4.                     <th width="250px">Model</th>
  5.                     <th width="250px">Name</th>
  6.                     <th width="70px">Share</th>
  7.                     <th width="150px">Price Range</th>
  8.                     <th width="150px">Brand</th>
  9.                     <th width="100px">Options</th>
  10.                 </tr>
  11.             </thead>

  12.             <tbody>
  13.                 <tr propertyName="trModel">
  14.                     <td><span propertyName="Model"></span>
  15.                     </td>
  16.                     <td><span propertyName="Name"></span></td>
  17.                     <td>
  18.                         <button type="button" propertyName="btnName" onclick="doFunction();">Try</button>
  19.                     </td>
  20.                     <td><span propertyName="PriceRange"></span></td>
  21.                     <td><span propertyName="Brand"></span></td>
  22.                     <td><select propertyName="Options"></select></td>
  23.                 </tr>
  24.             </tbody>

  25.         </script>
And I store the upper code in a templates.html, and then try following code:
  1.       
  2. $.get('./templates.html', function(template) {
  3. });
But I didn't know how to do the next step to get the exact DOM element x-template from templates.html.
Is anyone know how to make that, thanks a lot.