title: Why is AngularJS complaining about an unexpected token in an expression when I try to use a string?
body: <p>I have the folowing attribute on a div: <code>ng-show="state.name === 'index'"</code>. I've also tried <code>ng-show='state.name === "index"</code>, but I keep getting the following error:</p>
  
  <blockquote>
    <p>Syntax Error: Token '<code>"index"</code>' is an unexpected token at column 16 of the expression <code>[state.name === "index"]</code> starting at <code>["index"]</code>.</p>
  </blockquote>
  
  <p>Why?</p>