Angularjs How can i post/put/delete data into local json file?
<p>Angularjs How can i post/put data into local json file?</p>

<p>To get data, i do:</p>

<pre><code>App.factory('serv', ['$http', function ($http) {
  var data = {};
  db.getdata = function(){
    return $http.get('data/album.json');
  }
  return data;
}])
</code></pre>

<p>I dont know how to do for POST , PUT and DELETE. </p>

<p>Is it possible?</p>