I know this is a stupid question, but I'm missing something and I'm lost.
I have created a new project using 'yo meanjs' thus creating the standard scaffolding.
From the public side of the application I am trying to search the Users for a user based not on their id but rather their email address.
Some how I need to write the query using Users.get or Users.query but I cannot find an example of how to do this. Do I have to create new controllers/routes on the app side?
On the public side I've tried many different things like:
var user = Users.query({
email: '[email protected]'
});
I can't seem to see the forest through the beautiful trees right now.
Thanks!