Added $http post, get delete calls
error on view fixed