title: Meteor Iron Router load template based on dynamic name
body: <p>I would like to load a meteor template using iron-router but the template that I'm loading needs to be dynamic, I have tried a couple different approaches but none are working. </p>
  
  <p>My router </p>
  
  <pre><code>Router.route('/forms/add-form/:template', {
    name: 'addForm',
    layoutTemplate: 'layoutApp',
    waitOn: function() {
      return Meteor.subscribe('producersList');
    },
    data: function() {
      return Producers.find();
    }
  }); 
  </code></pre>
  
  <p>The router go </p>
  
  <pre><code>Router.go('addForm', {template: this.template});
  </code></pre>
  
  <p>The url is fine now I first tried having this in my router </p>
  
  <pre><code>name: this.params.template,
  </code></pre>
  
  <p>But that doesn't work I'm now trying the following in my addForm template </p>
  
  <pre><code>{{&gt; UI.dynamic template=formToLoad data=myDataContext}}
  
  formToLoad:function(){
      console.log('aaaa ' + this.template);
  }
  });
  </code></pre>