Skip to content

Commit 6e2e2f9

Browse files
authored
Merge pull request #26 from OpenLiberty/hotspottags
Addressed end-to-end test feedback
2 parents b7f759a + b86aed3 commit 6e2e2f9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ service.
177177
`src/main/frontend/src/app/app.component.ts`
178178
----
179179
[role="edit_command_text"]
180-
Create the entire [hotspot=artistsServiceClass]`ArtistsService` class. Add the [hotspot=importHttpClient]`HttpClient`
180+
Create the entire [hotspot=artistsServiceClass]`ArtistsService` class
181+
with the [hotspot=atInjectable]`@Injectable` annotation.
182+
Add the [hotspot=importHttpClient]`HttpClient`
181183
and [hotspot=importInjectable]`Injectable` import statements at the top.
182184

183185
The file imports the [hotspot=importHttpClient]`HttpClient` class and [hotspot=importInjectable]`Injectable` decorator.
@@ -224,8 +226,8 @@ artists data and save it so the component can display it.
224226
`src/main/frontend/src/app/app.component.ts`
225227
----
226228
[role="edit_command_text"]
227-
Replace the entire [hotspot=appComponentClass]`AppComponent` class as shown. Add
228-
[hotspot=importOnInitAndAngularCorePackage]`OnInit` to the list of imported classes at the top.
229+
Replace the entire [hotspot=appComponentClass]`AppComponent` class with the [hotspot=atComponent]`@Component` annotation.
230+
Add [hotspot=importOnInitAndAngularCorePackage]`OnInit` to the list of imported classes at the top.
229231

230232
The [hotspot=providersProperty]`providers` property on the [hotspot=atComponent]`@Component` annotation
231233
indicates that this component provides the [hotspot=artistsServiceClass]`ArtistsService` to other

0 commit comments

Comments
 (0)