stomElPage = Object.create(HTMLElement.prototype);
      customElPage.attachedCallback = function() {
        this.router.go('/other');
      };
      document.registerElement('custom-el-page', {
        prototype: customElPage
      });
    </script>

    <polymer-element name="other-page" noscript>
      <template>
        <h2>Other page - <code>router.go()</code> was called correctly.</h2>
      </template>
    </polymer-element>

    <app-router mode="hash">
      <app-route path="/" element="first-page