I create my tree 
Then i did hdbfunction and create dbview with this fields + "DrillState" field

in example from SDK i have seen this code of Annotation File, but i dont understand how it work.
In console i have this error

What should I do to correctly display the tree from odata? Like HERE