title: How to reset object value to null in angularjs?
body: <p>This is my code</p>
  
  <pre><code>var data={};
  
  data={stdId:"101"};
  data={empId:"102"};
  data={deptId:"201"};
  </code></pre>
  
  <p>I have a data object getting data from services with one key only. but key names are different like  <code>stdId</code> or <code>empId</code> ,etc.<br>
  I want to assign empty value to <code>stdId</code> or <code>empId</code> ,etc. like <code>data={stdId:""}</code> .<br>
  The key names are changed dynamically based on services.</p>