Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 055b738

Browse files
Thomas Tutscaitp
Thomas Tuts
authored andcommitted
docs(directive): fix misspelled HTML class for an alert
Muchas gracias Closes angular#7381
1 parent 2faa478 commit 055b738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/directive.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ using `templateUrl` instead:
282282
Great! But what if we wanted to have our directive match the tag name `<my-customer>` instead?
283283
If we simply put a `<my-customer>` element into the HTML, it doesn't work.
284284

285-
<div class="alert alert-waring">
285+
<div class="alert alert-warning">
286286
**Note:** When you create a directive, it is restricted to attribute only by default. In order to
287287
create directives that are triggered by element or class name, you need to use the `restrict` option.
288288
</div>

0 commit comments

Comments
 (0)