diff --git a/modules/examples/src/routing/inbox-app.ts b/modules/examples/src/routing/inbox-app.ts index 649f960498..779f163319 100644 --- a/modules/examples/src/routing/inbox-app.ts +++ b/modules/examples/src/routing/inbox-app.ts @@ -16,8 +16,7 @@ class DbService { getData() { var p = PromiseWrapper.completer(); - ObservableWrapper.subscribe(this.http.get('./db.json'), - (resp) => { p.resolve(resp.json()); }); + ObservableWrapper.subscribe(this.http.get('./db.json'), (resp) => { p.resolve(resp.json()); }); return p.promise; }