title: how to pass a json as a string param to a directive
body: <p>When I try to eval the below json form it gives me an error - </p>
  
  <pre><code>eval("{form: 'form' , nameToMatch: 'password1'}")
  </code></pre>
  
  <p>Why is the above form not valid ?</p>
  
  <p>However the below works fine - </p>
  
  <pre><code>eval("{form: 'form'}")
  </code></pre>
  
  <p>I am trying to pass the above json as a string, as a param input to a directive.</p>
  
  <p>Below is the html -</p>
  
  <pre><code>&lt;input type="password" name="password2" ng-model="user.confirmPassword" placeholder="Confirm Password" match="{form: 'form', nameToMatch: 'password1'}" required="required"/&gt;
  </code></pre>
  
  <p>Thanks,
  Murtaza</p>