title: How to update json file in AngularJS
body: <p>I want to update the existing json file in AngularJS</p>
  
  <p>JSON file:</p>
  
  <pre><code> {  
      "text1": "Click here to edit!",
      "text2": "Click here to edit!",
      "text3": "Click here to edit!",
      "text4": "Click here to edit!"  
  }
  </code></pre>
  
  <p>I want to update this JSON file as:</p>
  
  <pre><code>text1: "Abc"
  </code></pre>
  
  <p>and save this changes in JSON file</p>