get id from user logged in

24 views
Skip to first unread message

Cristiano Carvalho

unread,
Apr 24, 2016, 11:42:21 AM4/24/16
to nodejs
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.
Reply all
Reply to author
Forward
0 new messages