open navigator.html to see this working
- not in Chrome as that thinks that data served from the adjacent file:// is a same-origin-policy violation
open xref.json to see the data in question
To see a live app, visit: http://paul-hammant.github.com/StoryNavigator Contrast that to http://paul-hammant-fork.github.com/StoryNavigator which is the same, but has the AngularJs import line commented out.
Look inside the source for navigator.html to see plenty of notes towards understanding the implementation.