Added more crud methods to angularjs