messing with jsxgraph and angular js