title: Error: [$parse:lexerr] Lexer Error: Unterminated quote when using $parse in angularjs
body: <p>I'm trying to set a model value - with feet inch value (0'-0"). The model has been parsed using <code>$parse</code> in <code>angular</code> and is being set using:</p>
  
  <pre><code>var toBeUpdatedModel = $parse(attrs.ngModel);
  
  scope.$apply(toBeUpdatedModel.assign(scope, convertedValue))
  </code></pre>
  
  <p>When I do this I'm getting an error:</p>
  
  <pre><code>Error: [$parse:lexerr] Lexer Error: Unterminated quote at columns 2-7 ['-0\"] in expression [-0'-0\"].
  </code></pre>
  
  <p>Is there a way we can set these values without hooking up additional watches or using escape and unescape?</p>