what's the purpose of the `, ''` at the end of the ng-click?

also, in general, i don't think it's a good idea anymore to inline arbitrary json. it's a hassle to escape correctly, and might be causing your issues with `#act` not getting called. Instead, I would add it to the `window.Deckhand = ...` block at the top of index.html.haml (which should be a separate js.erb file, actually), like I ended up doing for model field types.