How to get my array of object data from database


I am trying to get the title to frontend, but i didn’t get the title to frontend. There are number of users in database i need to get title of that users. Can anyone please help me how to get the title to frontend.

Thanks in advance

my MongoDB structure


my TS component

      response => {
      this.userDetails = response;
      err => {
      console.error('User Not found');
      window.scrollTo(0, 0);

my HTML component

*ngFor="let articles of userDetails"

my accountService.ts

    return + 'user/getWeb', {});

my Controller.js

    //Getting Title'/getWeb', (req, res) => {
    Collections.user.find({}, function (err, result) {
    if (err) return res.status(500).send("There was a problem finding the user");
    if (result) {
    return res.status(200).send(result);
    } else {
   return res.status(500).send("User Not Found with Details: " + JSON.stringify(user));


Is this a Meteor question?


Hi i am prudhvi, I am newly registered in meteor. I don’t no how to get the data from array in mongodb. Can you please tell me how to get the title shows in the above question