New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-api-factory

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-api-factory - npm Package Compare versions

Comparing version

to
0.1.4

2

bower.json
{
"name": "angular-api-factory",
"version": "0.1.3",
"version": "0.1.4",
"description": "Gets an object literal with a desired API's structure and based on it, creates a well defined interface to handle ajax calls ($http).",

@@ -5,0 +5,0 @@ "main": "./lib/apifactory.module.js",

{
"name": "angular-api-factory",
"version": "0.1.3",
"version": "0.1.4",
"description": "Gets an object literal with a desired API's structure and based on it, creates a well defined interface to handle ajax calls ($http).",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/DiegoZoracKy/angular-api-factory",

@@ -128,6 +128,4 @@ # Angular API Factory

$scope.loadData = function(product) {
Product.save(product).success(function(response) {
console.log('Fetched successfully', response);
}).error(function(data) {
console.warn('Don\'t Panic... Maybe is just some required params that is missing');
Product.save(product).error(function(data) {
console.warn('Don\'t Panic... Maybe is just some required params that is missing. Check:', data);
});

@@ -134,0 +132,0 @@ };