Skip to content

Commit b193535

Browse files
gokulkrishhcaitp
authored andcommitted
docs(guide/*): spelling/grammar improvements
Closes angular#10552
1 parent 77131c0 commit b193535

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/guide/migration.ngdoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ of `$sce.trustAsHtml(string)`. When bound to a plain string, the string is sanit
390390
module is not loaded) and the bound expression evaluates to a value that is not trusted an
391391
exception is thrown.
392392

393-
When using this directive you can either include `ngSanitize` in your module's dependencis (See the
393+
When using this directive you can either include `ngSanitize` in your module's dependencies (See the
394394
example at the {@link ngBindHtml} reference) or use the {@link $sce} service to set the value as
395395
trusted.
396396

@@ -647,10 +647,10 @@ freely available to JavaScript code (as before).
647647

648648
Angular expressions execute in a limited context. They do not have
649649
direct access to the global scope, `window`, `document` or the Function
650-
constructor. However, they have direct access to names/properties on
651-
the scope chain. It has been a long standing best practice to keep
650+
constructor. However, they have direct access to names/properties on
651+
the scope chain. It has been a long standing best practice to keep
652652
sensitive APIs outside of the scope chain (in a closure or your
653-
controller.) That's easier said that done for two reasons:
653+
controller.) That's easier said than done for two reasons:
654654

655655
1. JavaScript does not have a notion of private properties so if you need
656656
someone on the scope chain for JavaScript use, you also expose it to

0 commit comments

Comments
 (0)