title: Angular-js ng-readonly when condition is false
body: <p>I am trying to <code>&lt;inpute type="text" ng-readnly="!someVariable"</code>.</p>
  
  <p>When I breakpoint,  <code>$scope.someVariable</code> is true, but the input field is read-only.</p>
  
  <p>Can I not use a <code>!</code> ?</p>
  
  <p>How can I code this?  </p>
  
  <hr>
  
  <p>[Update] If not,I imagine that I can <code>ng-change</code> the field and ignore the change if the condition is false.</p>