When using BreezeJS eager loading expand function with ASP.NET Web API, I expect to receive simple JSON objects that I can iterate through in my Angular views, like {{p.users.projects.projectname}}. However, the results I get are not plain JSON when delving deeply into projects.
function getUsersPartials() {
return EntityQuery.from('users').expand('projects')
.using(manager).execute()
.to$q(querySucceeded, _queryFailed);
function querySucceeded(data) {
users = data.results;
console.log(users);
log('Retrived [Users Partials] from remote data source ', users.length, true);
return users;
}
}