where do I put Angular 2 integrations?
Closed this issue · 1 comments
PatrickJS commented
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
PatrickJS commented
rx is built-in