title: How to send a value from one component to another?
body: <p>I make a componenet in which I have one input field and button.On click of button I am diplaying the second component.I want to send data from one component to another component ?</p>
  
  <p>how I will send data from one component to another ..I need to send input value (what ever user type in input field ) I need to show on next component or next page .On button click .how to send data ?
  here is my plunker
  <a href="http://plnkr.co/edit/IINX8Zq8J2LUTIyf4DYD?p=preview" rel="noreferrer">http://plnkr.co/edit/IINX8Zq8J2LUTIyf4DYD?p=preview</a></p>
  
  <pre><code>import {Component,View} from 'angular2/core';
  import {Router} from 'angular2/router';
  
  @Component({
      templateUrl: 'home/home.html'
  })
  
  
  export class AppComponent {
     toDoModel;
    constructor(private _router:Router) {
  
  
    }
  
    onclck(inputValue){
      alert(inputValue)
      this._router.navigate(['Second']);
    }
  
  }
  </code></pre>