Update example and docs

Update example to put urlArray and currentPage in the controller.
Update docs to indicate default for currentPage.