I have a scope model called person that has a firstname, lastname and fullname. My goQuery works with this:
$scope.person = $goQuery('person', { userName: $scope.person.findme }, { sort: { 'userName': 'asc' }, limit: 1 }).$sync();
The only problem I'm having is that it only populates the value for the field I'm searching and not the whole model. What am I missing?