Angle of shape binding

i want to change angle of the arrow shapes in the following diagram with respect to a property in json if it is greater then 50 the point up and vise versa



at line 203 i m creating a binding and it is giving an error

When you don’t return 90, you are not returning a number, you’re returning undefined.

Are you using go-debug.js?