Passing the json example as a local variable to the example template

For some reason when rendering the example partial inside the loop, it doesn't call
the example helper method on the controller, it calls instead a nil local variable
breaking the rendering of the single page template
Merge pull request #3 from Draiken/fix_single_page

Passing the json example as a local variable to the example template