The ezAR Compass app has been updated to include the new snapshot support introduced in ezAR 0.2. The Snapshot plugin works standalone or with the other ezAR plugins. This new versatility to work standalone is one of the big new qualities of ezAR. Use this app as a guide for how to add a snapshot capability to your Cordova app.
You can find the src code here.