I can not transfer data to angular2 between files.
app.component.ts
import { Component, ViewEncapsulation } from '@angular/core'; import { NewsPostsComponent } from './news/post.component'; @Component({ selector: 'main-app', templateUrl: './app/app.component.html', directives: [NewsPostsComponent] }) export class AppComponent { title: string; posts: string[][]; constructor (){ this.title = 'Journal'; this.posts = [ ['Finish News!', '', '03:49 09.10.2016'], ['Start News', '', '02:49 09.10.2016'], ['Hello World', '', '01:49 09.10.2016'] ]; } } post.component.ts
import { Input, Component } from '@angular/core'; @Component ({ selector: 'news-post', templateUrl: './app/news/post.component.html' }) export class NewsPostsComponent { @Input() posts: string[]; } app.component.html
<news-post [posts]="posts"></news-post> Here is an error, help, already rummaged everything. Angular version is the freshest. 
posts: string[][];in the directiveposts: string[];find the difference - Grundy