Parameters as objects

The params-config can also be an object with key-value pairs, where the value is the default value if none is given from the URL.


Answer:
<div data-bind="page: {id: 'question', params: {'query': question,'answer': null}}" class="well">
    <a style="float: right" data-bind="page-href: '../'"><i class="icon-eject"></i></a>
    <span data-bind="text: query"></span>
    <br/>
    <b>Answer: <span data-bind="text: answer"></span></b>
</div>