Angular 2: What is the exact difference between private and public attributes in components?
<p>Could someone explain the difference between private and not private attributes in components in Angular 2? Like with <code>private_text</code> and <code>other_text</code> in this example:</p>

<pre><code>import { Component } from '@angular/core';

@Component({
  moduleId: module.id,
  selector: 'my-component',
  template: '&lt;div&gt;{{private_text}}&lt;/div&gt;&lt;div&gt;{{other_text}}&lt;/div&gt;'
})
export class MyComponent {

  private private_text:string;
  other_text:string;

  constructor() {
    this.private_text = "hello";
    this.other_text = "hello";
  }

}
</code></pre>