Hello, i am not a node experienced developer neither and angular so i am facing the following problem:
i am building an app to create poststickers so i want to list only the notes of the current user
Notes.getAll(1).then(function(data) {
$rootScope.notes = data.data;
});
in the place of 1 i need to put the current user id param. i don't know how to figure it out.