title: Add custom page transition on ionic 2 rc0
body: <p>I'm trying to make a custom page transition (shrinking the navbar and moving the avatar to it's place), but i'm having trouble finding any material on how to do it.</p>
  
  <p>I found in this issue <a href="https://github.com/driftyco/ionic/issues/8186" rel="nofollow noreferrer">https://github.com/driftyco/ionic/issues/8186</a> that now it's easy to add page transitions.</p>
  
  <p>However, in the end of the reply with the example code, @NoNameProvided said to modify app.module.ts file to register the transition like this:</p>
  
  <pre><code>this.config.setTransition('fade-transition', FadeTransition);
  </code></pre>
  
  <p>I wanna know how to properly use this config.setTransition, since isn't clear what I have to import in order to use <code>this.config</code>.</p>
  
  <p>Once I get the custom page transition working, a blog post can be made, so other people learn how to do it.</p>
  
  <p>Thanks in advance.</p>