You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/05/24 11:05:32 UTC
svn commit: r1597269 -
/isis/site/trunk/content/components/viewers/restfulobjects/angularjs-tips.md
Author: danhaywood
Date: Sat May 24 09:05:32 2014
New Revision: 1597269
URL: http://svn.apache.org/r1597269
Log:
angularjs tip
Modified:
isis/site/trunk/content/components/viewers/restfulobjects/angularjs-tips.md
Modified: isis/site/trunk/content/components/viewers/restfulobjects/angularjs-tips.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/components/viewers/restfulobjects/angularjs-tips.md?rev=1597269&r1=1597268&r2=1597269&view=diff
==============================================================================
--- isis/site/trunk/content/components/viewers/restfulobjects/angularjs-tips.md (original)
+++ isis/site/trunk/content/components/viewers/restfulobjects/angularjs-tips.md Sat May 24 09:05:32 2014
@@ -39,7 +39,6 @@ You can then invoke this using AngularJs
"value": "Fred"
}
};
-
findCustomer.get({queryString: JSON.stringify(findCustomerArgs)}, function(data) { ... } )
Here the `:queryString` placeholder in the initial `$resource` constructor is expanded with a stringified version of the JSON object representing the args. Note how the `findCustomerArgs` is the same as the `"arguments"` attribute in the original link (with a value provided instead of `null`).