title: How to get css class of model in angularjs?
body: <p>Please tell me that  how to get css class of model in angularjs? My example is given below.</p>
  
  <p>Example:</p>
  
  <pre><code>ng-class="{'greenbtn' : fullname, 'redbtn':!fullname}"
  </code></pre>
  
  <p>Here I want to get whether fullname is redbtn or greenbtn from angularjs.</p>