Polymer app-route issue with subroutes
<p>I would like to ask for your help on this:
I have an application that have the following structure:</p>

<p>Routes:</p>

<pre><code>&lt;my-app&gt;
    - &lt;my-application&gt;
    - &lt;my-admin&gt;
          - &lt;my-adminlogin&gt;
          - &lt;my-workplace&gt;
</code></pre>

<p>The problem is that I'm trying to use app-route element for the app routing:</p>

<blockquote>
  <p><code>&lt;my-app&gt;</code> element:</p>
</blockquote>

<pre><code>&lt;app-location route="{{route}}"&gt;&lt;/app-location&gt;
    &lt;app-route
        route="{{route}}"
        pattern="/:page"
        data="{{routeData}}"
        tail="{{subroute}}"&gt;
    &lt;/app-route&gt;
    &lt;iron-pages role="main" selected="[[page]]" attr-for-selected="name"&gt;
        &lt;my-application name="application"&gt;&lt;/my-application&gt;
        &lt;my-admin name="admin"&gt;&lt;/my-admin&gt;
    &lt;/iron-pages&gt;
</code></pre>

<p>The polymer script is:</p>

<pre><code>properties: {
        page: {
          type: String,
          reflectToAttribute: true,
          observer: '_pageChanged'
        },
      },
      observers: [
        '_routePageChanged(routeData.page)'
      ],
      _routePageChanged: function(page) {
        this.page = page || 'application';
      },
      _pageChanged: function(page) {
        // load page import on demand.
        this.importHref(
          this.resolveUrl('my-' + page + '.html'), null, null, true);
      }
</code></pre>

<p>This work perfect when I enter to app the my-application element sows up and when I write in the url "/admin" the app automatically show up my-admin element.
I'm wonder how to keep going with the rest of the app because I need to do exactly the same in "my-admin" element to show by default "my-adminlogin" and if I write "/admin/workplace" show the my-workplace element.
I really don't know if I have to create a new <code>&lt;app-route&gt;</code> element in the <code>&lt;my-admin&gt;</code>element or if I have to use subroutes, but in that case I din't find a way to use the subroutes yet.</p>

<p>I appreciate any help on this, thanks.</p>