Make query use a local variable
How do I access local variables as a parameter in a query? for example, for a ToDo app where users can assign task to each other, i'd like to make a list service access all records where: {"Assignee": {"$inQuery": {"_id": UserID}}} Where UserID is a local storage variable that was returned upon the users login, via a login service. I linked them using the request mapping tab, and tried a few ways (obvious to me) of adding javascript, but no joy. I assume this is possible, but I am struggling with the syntax. I also didn't see anything useful in the docs, maybe I missed it, but I'm a RTFM kind of guy...