Simplify gotoPage() to prevent duplicate Firefox queries

Remove all logic from gotoPage() and make it a mere setter for the template `ng-click` events.

Fixes #18 
Fixes #22