Skip to content

Commit 7861518

Browse files
committed
Documentation typo fixes
Documentation typo fixes
1 parent 4aac502 commit 7861518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ There are four types of body renderings: trustedHtml', 'template', 'templateWith
116116

117117
```js
118118
// The directive that will be dynamically rendered
119-
.directive('bindName', [function () {
119+
.directive('bindUnsafeHtml', [function () {
120120
return {
121121
template: "<span style='color:orange'>Orange directive text!</span>"
122122
};
@@ -128,7 +128,7 @@ There are four types of body renderings: trustedHtml', 'template', 'templateWith
128128
// The toast pop call, passing in a directive name to be rendered
129129
toaster.pop({
130130
type: 'info',
131-
body: 'bind-unsafe-html',
131+
body: 'bind-name',
132132
bodyOutputType: 'directive',
133133
directiveData: { name: 'Bob' }
134134
});

0 commit comments

Comments
 (0)