Reactive-Extensions/rx.angular.js

where do I put Angular 2 integrations?

Closed this issue · 1 comments

Where do I put angular 2 stuff? Angular 2 has an awesome Pipeline for bindings so you're able to have async templates. I have a few examples in my angular2-reactive repo

angular-class/angular2-reactive-starter/src/app/components/app.ts#L174

    <p>
      <pre>appState = {{ appState | async | json }}</pre>
    </p>

from angular-class/angular2-reactive-starter/src/app/components/app.ts#L196

    this.appState = Rx.Observable.return(initilAppState).combineLatest(
      counter.subject,
      greet.subject,
      (...args) => Object.assign({}, ...args)
    );

so integration is pretty simple so far overwriting AsyncPipe to include RxPipe

rx is built-in