Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 521c12c

Browse files
gokulkrishhcaitp
authored andcommitted
docs(guide/*): spelling/grammar improvements
Closes #10552
1 parent 7f5051b commit 521c12c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/content/guide/bootstrap.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ As a best practice, consider adding an `ng-strict-di` directive on the same elem
8888
```
8989

9090
This will ensure that all services in your application are properly annotated.
91-
See the {@link guide/di#using-strict-dependency-injection dependancy injection strict mode} docs
91+
See the {@link guide/di#using-strict-dependency-injection dependency injection strict mode} docs
9292
for more.
9393

9494

@@ -156,4 +156,4 @@ until `angular.resumeBootstrap()` is called.
156156

157157
`angular.resumeBootstrap()` takes an optional array of modules that
158158
should be added to the original list of modules that the app was
159-
about to be bootstrapped with.
159+
about to be bootstrapped with.

docs/content/guide/migration.ngdoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ which drives many of these changes.
2121

2222
You can no longer invoke .bind, .call or .apply on a function in angular expressions.
2323
This is to disallow changing the behaviour of existing functions
24-
in an unforseen fashion.
24+
in an unforeseen fashion.
2525

2626
- due to [6081f207](https://github.com/angular/angular.js/commit/6081f20769e64a800ee8075c168412b21f026d99),
2727

@@ -877,7 +877,7 @@ of `$sce.trustAsHtml(string)`. When bound to a plain string, the string is sanit
877877
module is not loaded) and the bound expression evaluates to a value that is not trusted an
878878
exception is thrown.
879879

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

@@ -1134,10 +1134,10 @@ freely available to JavaScript code (as before).
11341134

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

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

0 commit comments

Comments
 (0)