Angular meteor list of task by user

i have a list of task on the database but i want to show each user and its tasks below his username. What i am trying to do is to loop through all users:

  • and inside this li start another list loading the tasks by this "user" id:
  • What i don't know is how to pass the user as a parameter to a helper function tasks() in this case, and how to filter those tasks by the user.

    If i have to use getReactively please tell me how to update the scope variable from the angular.