GraphQL query with angular

I’m testing graphql with angular.
I followed the code snippets in
https://docs.realm.io/sync/getting-started-1/web-based-graphql

When I do query like
query: gqlquery { itemEntity { ItemID } }

, I always get the following result for all the classes:
{“data”:{“itemEntity”:null}}

Did I miss something? Thanks