We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 127d6b6 commit 9c63a47Copy full SHA for 9c63a47
modules/angular2/src/http/backends/xhr_backend.ts
@@ -101,7 +101,7 @@ export class XHRConnection implements Connection {
101
* })
102
* class MyComponent {
103
* constructor(http:Http) {
104
- * http('people.json').subscribe(res => this.people = res.json());
+ * http.request('people.json').subscribe(res => this.people = res.json());
105
* }
106
107
* ```
0 commit comments