docs(directive): fix misspelled HTML class for an alert

Muchas gracias

Closes #7381
This commit is contained in:
Thomas Tuts
2014-05-07 13:27:37 +02:00
committed by Caitlin Potter
parent 2faa4781c5
commit 055b738d4e

View File

@@ -282,7 +282,7 @@ using `templateUrl` instead:
Great! But what if we wanted to have our directive match the tag name `<my-customer>` instead?
If we simply put a `<my-customer>` element into the HTML, it doesn't work.
<div class="alert alert-waring">
<div class="alert alert-warning">
**Note:** When you create a directive, it is restricted to attribute only by default. In order to
create directives that are triggered by element or class name, you need to use the `restrict` option.
</div>