We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
class="diagram"
1 parent ca72909 commit f208963Copy full SHA for f208963
docs/content/tutorial/step_06.ngdoc
@@ -64,7 +64,7 @@ We also added phone images next to each record using an image tag with the {@lin
64
api/ng.directive:ngSrc ngSrc} directive. That directive prevents the
65
browser from treating the angular `{{ expression }}` markup literally, and initiating a request to
66
invalid url `http://localhost:8000/app/{{phone.imageUrl}}`, which it would have done if we had only
67
-specified an attribute binding in a regular `src` attribute (`<img class="diagram" src="{{phone.imageUrl}}">`).
+specified an attribute binding in a regular `src` attribute (`<img src="{{phone.imageUrl}}">`).
68
Using the `ngSrc` directive prevents the browser from making an http request to an invalid location.
69
70
0 commit comments