i am working with flatiron-director and core-pages. my question is how would i set a default route? also how do i call js functions on specific routes.
my code looks som
This app sets a default route and should demonstrate what you want: http://polymer-change.appspot.com/demos/spa.html.
I believe the relevant code would be:
var template = document.querySelector('template');
template.addEventListener('template-bound', function() {
this.route = this.route || 1; // default route to "1".
});