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

Muchas gracias
This commit is contained in:
Thomas Tuts
2014-05-07 13:27:37 +02:00
committed by Caitlin Potter
parent a8aae48bc0
commit 31bdb60f0a

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>