title: Syntax error in order() method using ng-click and ng-repeat
body: <p>I am using the following html code to create an ng-repeat:</p>
  
  <pre><code>&lt;td ng-repeat="parentCategory in totalParentCategoriesCount | orderBy :'-Count'"&gt;
      &lt;h3&gt;
          &lt;a href="" ng-click="order('CategoryParent{{parentCategory.Count}}')"&gt;Kategori&lt;/a&gt;
          &lt;span class="sortorder" ng-show="predicate === 'CategoryParent{{parentCategory.Count}}'" ng-class="{reverse:reverse}"&gt;&lt;/span&gt;
      &lt;/h3&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>I wish to add the text <code>CategoryParent</code> with the number from <code>parentCategory.Count</code> to create a dynamic link. </p>
  
  <p>When inspecting the link in the browser I get the corret outcome which is <code>CategoryParent0</code>, <code>CategoryParent1</code>, <code>CategoryParent2</code> and so on. But when clicking the link I get the following error:</p>
  
  <pre><code>Error: [$parse:syntax] http://errors.angularjs.org/1.2.16/$parse/syntax?p0=%7B&amp;p1=is%20an%20unexpe…Parent%7B%7BparentCategory.Count%7D%7D&amp;p4=%7B%7BparentCategory.Count%7D%7D
  at Error (native)
  at http://localhost:51976/Scripts/angular.min.js:6:450
  at $a.throwError (http://localhost:51976/Scripts/angular.min.js:165:141)
  at $a.parse (http://localhost:51976/Scripts/angular.min.js:164:6)
  at $get (http://localhost:51976/Scripts/angular.min.js:96:122)
  at http://localhost:51976/Scripts/angular.min.js:129:290
  at http://localhost:51976/Scripts/angular.min.js:10:248
  at Array.forEach (native)
  at q (http://localhost:51976/Scripts/angular.min.js:7:280)
  at Uc (http://localhost:51976/Scripts/angular.min.js:10:219)
  </code></pre>
  
  <p>On the angular page its says the following:</p>
  
  <pre><code>Syntax Error: Token '{' is an unexpected token at column 15 of the expression [CategoryParent{{parentCategory.Count}}] starting at [{{parentCategory.Count}}].
  </code></pre>
  
  <p>I have been looking at this answer <a href="https://stackoverflow.com/questions/23095966/angularjs-expression-throwing-a-syntax-error-in-ng-click">AngularJS expression throwing a Syntax error in ng-click</a> and therefore tried many different compinations in the order() method but I cant figure out how to make the link dynamic without using brackets.</p>
  
  <p>Right now the <code>parentCategory.Count</code> is an <code>int</code> but I have also tried to parse it to a <code>string</code> but without any success.</p>