parent
066b281979
commit
2f6062f632
@ -73,8 +73,8 @@ the component **subscribes** to the method's return value.
|
|||||||
The subscription callback copies the data fields into the component's `config` object,
|
The subscription callback copies the data fields into the component's `config` object,
|
||||||
which is data-bound in the component template for display.
|
which is data-bound in the component template for display.
|
||||||
|
|
||||||
<div class="alert is-helpful">
|
<div class="callout is-helpful">
|
||||||
**Why write a service?**
|
<header>Why write a service?</header>
|
||||||
|
|
||||||
This example is so simple that it is tempting to write the `Http.get()` inside the
|
This example is so simple that it is tempting to write the `Http.get()` inside the
|
||||||
component itself and skip the service.
|
component itself and skip the service.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user