title: Property does not exist issue running Angular2 ver.2.0.0-alpha.44
body: <p>New to Angular2, trying to get <a href="http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5?p=linter" rel="nofollow">this plunkr</a> project running on my local system. I'm getting the following errors:</p>
  
  <p>Error:(25, 23) TS2339: Property 'people' does not exist on type 'PeopleService'.
    Error:(26, 39) TS2339: Property 'people' does not exist on type 'People'</p>
  
  <p>on the lines:
              peopleService.people<br>
                  .subscribe(people => this.people = people);</p>
  
  <p>I'm reasonably confident I have the environment set up properly as I have other basic components running properly. </p>
  
  <p><strong>people.ts</strong> file:</p>
  
  <pre><code>import {Component, View, CORE_DIRECTIVES} from 'angular2/angular2'  
  import {PeopleService} from './peopleService'  
  import {Person} from './person'
  
  @Component({  
      selector: 'my-app',  
      providers: [PeopleService]  
  })  
  @View({
      template: `
      &lt;div&gt;
        &lt;h2&gt;Hello Angular2!&lt;/h2&gt;
        &lt;my-person
          *ng-for="#person of people"
          [name]="person.name"
          (hello)="saidHello($event)"&gt;
        &lt;/my-person&gt;
      &lt;/div&gt;
    `,  
          directives: [CORE_DIRECTIVES, Person]  
  })  
  export class People {  
      constructor(public peopleService:PeopleService) {  
          peopleService.people  
              .subscribe(people =&gt; this.people = people);  
      }  
      saidHello($event){  
          alert(`You said hello to ${$event}`)  
      }
  }
  </code></pre>
  
  <p>Similar error in the <strong>peopleService.ts</strong> file:</p>
  
  <p>Error:(8, 14) TS2339: Property 'people' does not exist on type 'PeopleService'.</p>
  
  <pre><code>//a simple service
  import {Injectable} from 'angular2/angular2';
  import {Http} from 'angular2/http';
  
  @Injectable()
  export class PeopleService {
    constructor(http:Http) {
      this.people = http.get('api/people.json').map(res =&gt; res.json());
    }
  }
  </code></pre>
  
  <p>Any guidance would be greatly appreciated!</p>
  
  <pre><code>Yaniv, I'm still working thru this, below is the exception after implementing the change.  Also, I didn't notice this before but I'm getting a warning in the people.ts file on the following statements:
      [name]="person.name"
      (hello)="saidHello($event)"&gt;
  </code></pre>
  
  <p>warning
     Attribute [name] not allowed here<br>
     Attribute (hello) not allowed here</p>
  
  <pre><code>EXCEPTION: Cannot resolve all parameters for People(?). Make sure they all have valid type or annotations.
  angular2.dev.js:21835 EXCEPTION: Cannot resolve all parameters for People(?). Make sure they all have valid type or annotations.BrowserDomAdapter.logError @ angular2.dev.js:21835BrowserDomAdapter.logGroup @ angular2.dev.js:21846ExceptionHandler.call @ angular2.dev.js:4431(anonymous function) @ angular2.dev.js:19543NgZone._onError @ angular2.dev.js:10711errorHandling.onError @ angular2.dev.js:10630run @ angular2.dev.js:141(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$$internal$$tryCatch @ angular2.dev.js:1507lib$es6$promise$$internal$$invokeCallback @ angular2.dev.js:1519lib$es6$promise$$internal$$publish @ angular2.dev.js:1490(anonymous function) @ angular2.dev.js:219microtask @ angular2.dev.js:10670run @ angular2.dev.js:138(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$asap$$flush @ angular2.dev.js:1301
  angular2.dev.js:21835 STACKTRACE:BrowserDomAdapter.logError @ angular2.dev.js:21835ExceptionHandler.call @ angular2.dev.js:4433(anonymous function) @ angular2.dev.js:19543NgZone._onError @ angular2.dev.js:10711errorHandling.onError @ angular2.dev.js:10630run @ angular2.dev.js:141(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$$internal$$tryCatch @ angular2.dev.js:1507lib$es6$promise$$internal$$invokeCallback @ angular2.dev.js:1519lib$es6$promise$$internal$$publish @ angular2.dev.js:1490(anonymous function) @ angular2.dev.js:219microtask @ angular2.dev.js:10670run @ angular2.dev.js:138(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$asap$$flush @ angular2.dev.js:1301
  angular2.dev.js:21835 Error: Cannot resolve all parameters for People(?). Make sure they all have valid type or annotations.
      at NoAnnotationError.BaseException [as constructor] (http://127.0.0.1:8080/node_modules/angular2/bundles/angular2.dev.js:16034:21)
      at new NoAnnotationError (http://127.0.0.1:8080/node_modules/angular2/bundles/angular2.dev.js:4983:14)
      at _dependenciesFor (http://127.0.0.1:8080/node_modules/angular2/bundles/angular2.dev.js:20066:13)
      at resolveFactory (http://127.0.0.1:8080/node_modules/angular2/bundles/angular2.dev.js:19964:22)
      at Object.resolveProvider (http://127.0.0.1:8080/node_modules/angular2/bundles/angular2.dev.js:19983:66)
      at Function.DirectiveProvider.createFromProvider (http://127.0.0.1:8080/node_modules/angular2/bundles/angular2.dev.js:23906:27)
      at Function.DirectiveProvider.createFromType (http://127.0.0.1:8080/node_modules/angular2/bundles/angular2.dev.js:23915:32)
      at provideDirective (http://127.0.0.1:8080/node_modules/angular2/bundles/angular2.dev.js:27209:49)
      at http://127.0.0.1:8080/node_modules/angular2/bundles/angular2.dev.js:27188:14
      at Array.map (native)BrowserDomAdapter.logError @ angular2.dev.js:21835ExceptionHandler.call @ angular2.dev.js:4434(anonymous function) @ angular2.dev.js:19543NgZone._onError @ angular2.dev.js:10711errorHandling.onError @ angular2.dev.js:10630run @ angular2.dev.js:141(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$$internal$$tryCatch @ angular2.dev.js:1507lib$es6$promise$$internal$$invokeCallback @ angular2.dev.js:1519lib$es6$promise$$internal$$publish @ angular2.dev.js:1490(anonymous function) @ angular2.dev.js:219microtask @ angular2.dev.js:10670run @ angular2.dev.js:138(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$asap$$flush @ angular2.dev.js:1301
  angular2.dev.js:21845 EXCEPTION: TypeError: Cannot read property 'location' of undefined
  angular2.dev.js:21835 EXCEPTION: TypeError: Cannot read property 'location' of undefinedBrowserDomAdapter.logError @ angular2.dev.js:21835BrowserDomAdapter.logGroup @ angular2.dev.js:21846ExceptionHandler.call @ angular2.dev.js:4431(anonymous function) @ angular2.dev.js:19543NgZone._onError @ angular2.dev.js:10711errorHandling.onError @ angular2.dev.js:10630run @ angular2.dev.js:141(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$$internal$$tryCatch @ angular2.dev.js:1507lib$es6$promise$$internal$$invokeCallback @ angular2.dev.js:1519lib$es6$promise$$internal$$publish @ angular2.dev.js:1490(anonymous function) @ angular2.dev.js:219microtask @ angular2.dev.js:10670run @ angular2.dev.js:138(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$asap$$flush @ angular2.dev.js:1301
  angular2.dev.js:21835 STACKTRACE:BrowserDomAdapter.logError @ angular2.dev.js:21835ExceptionHandler.call @ angular2.dev.js:4433(anonymous function) @ angular2.dev.js:19543NgZone._onError @ angular2.dev.js:10711errorHandling.onError @ angular2.dev.js:10630run @ angular2.dev.js:141(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$$internal$$tryCatch @ angular2.dev.js:1507lib$es6$promise$$internal$$invokeCallback @ angular2.dev.js:1519lib$es6$promise$$internal$$publish @ angular2.dev.js:1490(anonymous function) @ angular2.dev.js:219microtask @ angular2.dev.js:10670run @ angular2.dev.js:138(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$asap$$flush @ angular2.dev.js:1301
  angular2.dev.js:21835 TypeError: Cannot read property 'location' of undefined
      at angular2.dev.js:19434
      at Zone.run (angular2.dev.js:138)
      at Zone.run (angular2.dev.js:10644)
      at zoneBoundFn (angular2.dev.js:111)
      at lib$es6$promise$$internal$$tryCatch (angular2.dev.js:1507)
      at lib$es6$promise$$internal$$invokeCallback (angular2.dev.js:1519)
      at lib$es6$promise$$internal$$publish (angular2.dev.js:1490)
      at angular2.dev.js:219
      at microtask (angular2.dev.js:10670)
      at Zone.run (angular2.dev.js:138)BrowserDomAdapter.logError @ angular2.dev.js:21835ExceptionHandler.call @ angular2.dev.js:4434(anonymous function) @ angular2.dev.js:19543NgZone._onError @ angular2.dev.js:10711errorHandling.onError @ angular2.dev.js:10630run @ angular2.dev.js:141(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$$internal$$tryCatch @ angular2.dev.js:1507lib$es6$promise$$internal$$invokeCallback @ angular2.dev.js:1519lib$es6$promise$$internal$$publish @ angular2.dev.js:1490(anonymous function) @ angular2.dev.js:219microtask @ angular2.dev.js:10670run @ angular2.dev.js:138(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$asap$$flush @ angular2.dev.js:1301
  angular2.dev.js:21845 EXCEPTION: TypeError: Cannot read property 'hostView' of undefined
  angular2.dev.js:21835 EXCEPTION: TypeError: Cannot read property 'hostView' of undefinedBrowserDomAdapter.logError @ angular2.dev.js:21835BrowserDomAdapter.logGroup @ angular2.dev.js:21846ExceptionHandler.call @ angular2.dev.js:4431(anonymous function) @ angular2.dev.js:19543NgZone._onError @ angular2.dev.js:10711errorHandling.onError @ angular2.dev.js:10630run @ angular2.dev.js:141(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$$internal$$tryCatch @ angular2.dev.js:1507lib$es6$promise$$internal$$invokeCallback @ angular2.dev.js:1519lib$es6$promise$$internal$$publish @ angular2.dev.js:1490(anonymous function) @ angular2.dev.js:219microtask @ angular2.dev.js:10670run @ angular2.dev.js:138(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$asap$$flush @ angular2.dev.js:1301
  angular2.dev.js:21835 STACKTRACE:BrowserDomAdapter.logError @ angular2.dev.js:21835ExceptionHandler.call @ angular2.dev.js:4433(anonymous function) @ angular2.dev.js:19543NgZone._onError @ angular2.dev.js:10711errorHandling.onError @ angular2.dev.js:10630run @ angular2.dev.js:141(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$$internal$$tryCatch @ angular2.dev.js:1507lib$es6$promise$$internal$$invokeCallback @ angular2.dev.js:1519lib$es6$promise$$internal$$publish @ angular2.dev.js:1490(anonymous function) @ angular2.dev.js:219microtask @ angular2.dev.js:10670run @ angular2.dev.js:138(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$asap$$flush @ angular2.dev.js:1301
  angular2.dev.js:21835 TypeError: Cannot read property 'hostView' of undefined
      at tick (angular2.dev.js:19626)
      at Zone.run (angular2.dev.js:138)
      at Zone.run (angular2.dev.js:10644)
      at zoneBoundFn (angular2.dev.js:111)
      at lib$es6$promise$$internal$$tryCatch (angular2.dev.js:1507)
      at lib$es6$promise$$internal$$invokeCallback (angular2.dev.js:1519)
      at lib$es6$promise$$internal$$publish (angular2.dev.js:1490)
      at angular2.dev.js:219
      at microtask (angular2.dev.js:10670)
      at Zone.run (angular2.dev.js:138)BrowserDomAdapter.logError @ angular2.dev.js:21835ExceptionHandler.call @ angular2.dev.js:4434(anonymous function) @ angular2.dev.js:19543NgZone._onError @ angular2.dev.js:10711errorHandling.onError @ angular2.dev.js:10630run @ angular2.dev.js:141(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$$internal$$tryCatch @ angular2.dev.js:1507lib$es6$promise$$internal$$invokeCallback @ angular2.dev.js:1519lib$es6$promise$$internal$$publish @ angular2.dev.js:1490(anonymous function) @ angular2.dev.js:219microtask @ angular2.dev.js:10670run @ angular2.dev.js:138(anonymous function) @ angular2.dev.js:10644zoneBoundFn @ angular2.dev.js:111lib$es6$promise$asap$$flush @ angular2.dev.js:1301
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Simplified version of PeopleService</p>
  
  <pre><code>//a simple service import {Injectable} from 'angular2/angular2';
  
  @Injectable() export class PeopleService {
      people: any;
      constructor() {
          this.people = [
              {"id": 1, "name": "Brad"},
              {"id": 2, "name": "Jules"},
              {"id": 3, "name": "Jeff"}
          ]
      } }
  </code></pre>