title: ng-model binding not working on div
body: <p>The two binding of AngularJS is not working on div. I want my div to be editable but it's not happening. Could anybody please suggest what could be wrong? The same binding works fine on textbox. This is my code:</p>
  
  <pre><code>&lt;input type="text" ng-model="userProfile.firstName"/&gt;
  &lt;div class="profile-name" contenteditable="true" ng-model="userProfile.firstName"&gt;&lt;/div&gt; 
  </code></pre>