File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ about the phones in the catalog.
16
16
17
17
## Data
18
18
19
- Note that the `phones.json` file contains unique ids and image urls for each of the phones. The
20
- urls point to the `app/img/phones/` directory.
19
+ Note that the `phones.json` file contains unique IDs and image URLs for each of the phones. The
20
+ URLs point to the `app/img/phones/` directory.
21
21
22
22
__`app/phones/phones.json`__ (sample snippet):
23
23
@@ -59,7 +59,7 @@ the element attribute.
59
59
We also added phone images next to each record using an image tag with the {@link
60
60
ng.directive:ngSrc ngSrc} directive. That directive prevents the
61
61
browser from treating the Angular `{{ expression }}` markup literally, and initiating a request to
62
- invalid url `http://localhost:8000/app/{{phone.imageUrl}}`, which it would have done if we had only
62
+ invalid URL `http://localhost:8000/app/{{phone.imageUrl}}`, which it would have done if we had only
63
63
specified an attribute binding in a regular `src` attribute (`<img src="{{phone.imageUrl}}">`).
64
64
Using the `ngSrc` directive prevents the browser from making an http request to an invalid location.
65
65
You can’t perform that action at this time.
0 commit comments