title: pass razor variable to angular function
body: <p>razor code <br/>
  <code>@{string razorVar= "test";}</code></p>
  
  <p>HTML<br/>
  <code>&lt;div ng-class="{active:vm.testSelected(@razorVar)}"&gt; ...&lt;/div&gt;</code></p>
  
  <p>angular controller function <br/>
  <code>vm.testSelected = function(jsVar) {
          return jsVar== 'test';
      }</code></p>
  
  <p><code>jsVar</code> is always <code>undefined</code></p>
  
  <p><strong>Question</strong><br/>
  What is the correct way to pass this <code>razorVar</code> to my function? (I do not want to use an ng-init)</p>