I've managed to run the modeler from the example with no problems. My question is: how can I implement the tool bar that shows on the http://demo.bpmn.io/ site that allows me to open/save a BPMN diagram?
the demo application's source code is available here.
The link is broken. Can you send me another one?
My bad, its actually a private repository. Have a look at Viewer which implements XML import and export. The toolbar is just a matter of calling these functions.