【发布时间】:2023-03-10 20:18:02
【问题描述】:
我想在 angularjs 页面中显示 Authenticated 用户的好友。
// Find a list of Friends
$scope.find = function() {
$scope.friends = Authentication.user.friends;
$scope.firstFriendName = Authentication.user.friends;
};
我正在使用带有 nodejs 的猫鼬。(MeanJS)
如何在meanjs中填充当前用户的朋友?
谢谢。
【问题讨论】:
标签: node.js angularjs mongoose meanjs mongoose-populate