title: angular 2 material paginator get current page index
body: <p>I'am using material design with angular 2. I want to use material design paginator for my application and get the current selected page index in the component. There is not much documentation for the paginator plugin.here is the material paginator page: <a href="https://material.angular.io/components/paginator/overview" rel="nofollow noreferrer">https://material.angular.io/components/paginator/overview</a></p>
  
  <p><strong>html Code</strong></p>
  
  <pre><code>&lt;md-paginator [length]="100"
                [pageSize]="10"
                [pageSizeOptions]="[5, 10, 25, 100]"&gt;
  &lt;/md-paginator&gt;
  </code></pre>
  
  <p><strong>angular 2 code</strong></p>
  
  <pre><code>@Component({
    selector: 'paginator-overview-example',
    templateUrl: 'paginator-overview-example.html',
  })
  export class PaginatorOverviewExample {
     //I want to get page change event here
  }
  </code></pre>