diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21af6b80eab7..57071b04fafa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -231,7 +231,7 @@ elem.attr(booleanAttrName, null);
- **[4e3624](https://github.com/angular/angular.js/commit/4e3624552284d0e725bf6262b2e468cd2c7682fa)**: remove the attribute for `.attr(attribute, null)`
Invoking `elem.attr(attributeName, null)` would set the
-`attributeName` atribute value to a string `"null"`, now it removes the
+`attributeName` attribute value to a string `"null"`, now it removes the
attribute instead.
To migrate the code follow the example below:
@@ -595,7 +595,7 @@ ancestor.
It is possible that an `ngModelOptions` directive that does not set a property,
has an ancestor ngModelOptions that does set this property to a value other than
`undefined`. This would cause the `ngModel` and input controls below this `ngModelOptions`
-directive to display different behaviour. This is fixed by explictly setting the
+directive to display different behaviour. This is fixed by explicitly setting the
property in the `ngModelOptions` to prevent it from inheriting from the ancestor.
For example if you had the following HTML:
@@ -667,7 +667,7 @@ might have unexpectd side effects in the following cases:
```js
// Assuming the following component:
- .compoent('someThing', {
+ .component('someThing', {
template: ''
transclude: {
ignored: 'veryImportantContent'
@@ -2919,7 +2919,7 @@ the built-in pattern validator:
/**
* The built-in directive will call our overwritten validator
* (see below). We just need to update the regex.
- * The preLink fn guaranetees our observer is called first.
+ * The preLink fn guarantees our observer is called first.
*/
if (isString(regex) && regex.length > 0) {
regex = new RegExp('^' + regex + '$');
@@ -3035,7 +3035,7 @@ the built-in pattern validator:
/**
* The built-in directive will call our overwritten validator
* (see below). We just need to update the regex.
- * The preLink fn guaranetees our observer is called first.
+ * The preLink fn guarantees our observer is called first.
*/
if (isString(regex) && regex.length > 0) {
regex = new RegExp('^' + regex + '$');
@@ -4909,7 +4909,7 @@ behavior is undefined.
([96c61fe7](https://github.com/angular/angular.js/commit/96c61fe756d7d3db011818bf0925e3d86ffff8ce),
[#10278](https://github.com/angular/angular.js/issues/10278))
- **orderBy:**
- - make object-to-primtiive behavior work for objects with null prototype
+ - make object-to-primitive behavior work for objects with null prototype
([3aa57528](https://github.com/angular/angular.js/commit/3aa5752894419b4638d5c934879258fa6a1c0d07))
- maintain order in array of objects when predicate is not provided
([8bfeddb5](https://github.com/angular/angular.js/commit/8bfeddb5d671017f4a21b8b46334ac816710b143),
@@ -7066,7 +7066,7 @@ Closes #7336
Previously, it was possible for an action passed to $watch
-to be a string, interpreted as an angular expresison. This is no longer supported.
+to be a string, interpreted as an angular expression. This is no longer supported.
The action now has to be a function.
Passing an action to $watch is still optional.
@@ -8967,7 +8967,7 @@ The animation mock module has been renamed from `mock.animate` to `ngAnimateMock
After:
```
- // POST, PUT and PATCH default headers must be specified seperately,
+ // POST, PUT and PATCH default headers must be specified separately,
// as they do not share data.
$httpProvider.defaults.headers.post =
$httpProvider.defaults.headers.put =
@@ -9753,7 +9753,7 @@ There are no breaking changes in this release (promise!)
([31c56f54](https://github.com/angular/angular.js/commit/31c56f540045b5270f5b8e235873da855caf3486),
[#4145](https://github.com/angular/angular.js/issues/4145),
[#3964](https://github.com/angular/angular.js/issues/3964))
- - **ngTransclude:** detect ngTranslude usage without a transclusion directive
+ - **ngTransclude:** detect ngTransclude usage without a transclusion directive
([5a1a6b86](https://github.com/angular/angular.js/commit/5a1a6b86a8dbcd8aa4fe9c59fad8d005eead686c),
[#3759](https://github.com/angular/angular.js/issues/3759))
@@ -9821,7 +9821,7 @@ There are no breaking changes in this release (promise!)
- ensure transition-property is not changed when only keyframe animations are in use
([2df3c9f5](https://github.com/angular/angular.js/commit/2df3c9f58def9584455f7c4bfdabbd12aab58bf9),
[#3933](https://github.com/angular/angular.js/issues/3933))
- - avoid completing the animation asynchronously unless CSS transtiions/animations are present
+ - avoid completing the animation asynchronously unless CSS transitions/animations are present
([2a63dfa6](https://github.com/angular/angular.js/commit/2a63dfa6cc7889888f4296fff2944e74ff30b3af),
[#4023](https://github.com/angular/angular.js/issues/4023),
[#3940](https://github.com/angular/angular.js/issues/3940))
@@ -11463,7 +11463,7 @@ This release also contains all bug fixes available in [1.0.2](#1.0.2).
## Features
-- **$http:** support custom reponseType
+- **$http:** support custom responseType
([e0a54f6b](https://github.com/angular/angular.js/commit/e0a54f6b206dc2b6595f2bc3a17c5932e7477545),
[#1013](https://github.com/angular/angular.js/issues/1013))
- **$interpolate:**
@@ -11610,14 +11610,14 @@ This release also contains all bug fixes available in [1.0.2](#1.0.2).
- allow defining route async dependencies as promises and defer route change until all promises
are resolved
([885fb0dd](https://github.com/angular/angular.js/commit/885fb0dd0743859a8985c23e4d0c1855a2be711e))
- - rename template -> tempalteUrl and add support for inline templates
+ - rename template -> templateUrl and add support for inline templates
([0a6e464a](https://github.com/angular/angular.js/commit/0a6e464a93d9a1e76a624b356054ce9ca4015f55))
- **$compile:** simplify isolate scope bindings and introduce true two-way data-binding between
parent scope and isolate scope
([c3a41ff9](https://github.com/angular/angular.js/commit/c3a41ff9fefe894663c4d4f40a83794521deb14f))
- **$injector:** provide API for retrieving function annotations
([4361efb0](https://github.com/angular/angular.js/commit/4361efb03b79e71bf0cea92b94ff377ed718bad4))
-- **$location:** add $locatonChange[start|success] event - since events are cancelable, it's now
+- **$location:** add $locationChange[start|success] event - since events are cancelable, it's now
possible to cancel route and location changes.
([92a2e180](https://github.com/angular/angular.js/commit/92a2e1807657c69e1372106b0727675a30f4cbd7))
- **$rootElement:** expose application root element as $rootElement service
@@ -11940,7 +11940,7 @@ This release also contains all bug fixes available in [1.0.2](#1.0.2).
([06d09550](https://github.com/angular/angular.js/commit/06d0955074f79de553cc34fbf945045dc458e064))
- **booleanAttrs:** always convert the model to boolean before setting the element property
([dcb8e076](https://github.com/angular/angular.js/commit/dcb8e0767fbf0a7a55f3b0045fd01b2532ea5441))
- - **form:** preperly clean up when invalid widget is removed
+ - **form:** properly clean up when invalid widget is removed
([21b77ad5](https://github.com/angular/angular.js/commit/21b77ad5c231ab0e05eb89f22005f7ed8d40a6c1))
- **ngHref:** copy even if no binding
([2f5dba48](https://github.com/angular/angular.js/commit/2f5dba488e855bcdbb9304aa809efcb9de7b43e9))
@@ -12082,7 +12082,7 @@ We removed two useless features:
([ee5a5352](https://github.com/angular/angular.js/commit/ee5a5352fd4b94cedee6ef20d4bf2d43ce77e00b),
[#806](https://github.com/angular/angular.js/issues/806))
- **directives:**
- - **select:** multiselect failes to update view on selection insert
+ - **select:** multiselect fails to update view on selection insert
([6ecac8e7](https://github.com/angular/angular.js/commit/6ecac8e71a84792a434d21db2c245b3648c55f18))
- **ngForm:** alias name||ngForm
([823adb23](https://github.com/angular/angular.js/commit/823adb231995e917bc060bfa49453e2a96bac2b6))
diff --git a/docs/content/guide/animations.ngdoc b/docs/content/guide/animations.ngdoc
index 990cee18cca2..cb59791e0a58 100644
--- a/docs/content/guide/animations.ngdoc
+++ b/docs/content/guide/animations.ngdoc
@@ -384,7 +384,7 @@ By default, any `ngAnimate` enabled directives will assume any transition / anim
element are part of an `ngAnimate` animation. This can lead to problems when the styles are actually
for animations that are independent of `ngAnimate`.
-For example, an element acts as a loading spinner. It has an inifinite css animation on it, and also an
+For example, an element acts as a loading spinner. It has an infinite css animation on it, and also an
{@link ngIf `ngIf`} directive, for which no animations are defined:
```css
diff --git a/docs/content/guide/component-router.ngdoc b/docs/content/guide/component-router.ngdoc
index a982cef38088..76cea687b61b 100644
--- a/docs/content/guide/component-router.ngdoc
+++ b/docs/content/guide/component-router.ngdoc
@@ -32,8 +32,8 @@ Here is a table of the main concepts used in the Component Router.
| Routing Component | An Angular component with a RouteConfig and an associated Router. |
| RouteDefinition | Defines how the router should navigate to a component based on a URL pattern. |
| ngOutlet | The directive (``) that marks where the router should display a view. |
-| ngLink | The directive (`ng-link="..."`) for binding a clickable HTML element to a route, via a Link Paramaters Array. |
-| Link Parameters Array | An array that the router inteprets into a routing instruction. We can bind a RouterLink to that array or pass the array as an argument to the Router.navigate method. |
+| ngLink | The directive (`ng-link="..."`) for binding a clickable HTML element to a route, via a Link Parameters Array. |
+| Link Parameters Array | An array that the router interprets into a routing instruction. We can bind a RouterLink to that array or pass the array as an argument to the Router.navigate method. |
## Component-based Applications
@@ -929,7 +929,7 @@ function HeroListComponent(heroService) {
}
```
-Finally, we can use this information to higlight the current hero in the template.
+Finally, we can use this information to highlight the current hero in the template.
```html
- Angular scopes prototypally inherit from their parent scope, all the way up to the *root scope*
+ Angular scopes prototypically inherit from their parent scope, all the way up to the *root scope*
of the application. As a result, assigning values directly on the scope makes it easy to share
data across different parts of the page and create interactive applications.
While this approach works for prototypes and smaller applications, it quickly leads to tight
diff --git a/docs/content/tutorial/step_09.ngdoc b/docs/content/tutorial/step_09.ngdoc
index f8c7f0198bd8..5ab2e9b3eac8 100644
--- a/docs/content/tutorial/step_09.ngdoc
+++ b/docs/content/tutorial/step_09.ngdoc
@@ -324,7 +324,7 @@ modularity.
The takeaway here is:
-* Always be explicit about the dependecies of a sub-module. Do not rely on dependencies inherited
+* Always be explicit about the dependencies of a sub-module. Do not rely on dependencies inherited
from a parent module (because that parent module might not be there some day).
diff --git a/gdocs.js b/gdocs.js
index e83e0eca26fd..0c48de4aba32 100755
--- a/gdocs.js
+++ b/gdocs.js
@@ -39,7 +39,7 @@ if (flag === '--login') {
}
function help() {
- console.log('Synopsys');
+ console.log('Synopsis');
console.log('gdocs.js --login ');
console.log('gdocs.js --fetch []');
process.exit(-1);
diff --git a/src/ng/compile.js b/src/ng/compile.js
index 6d988aa698f9..10f9fa4285c7 100644
--- a/src/ng/compile.js
+++ b/src/ng/compile.js
@@ -402,7 +402,7 @@
* * defines the parent to which the `cloneLinkingFn` will add the cloned elements.
* * default: `$element.parent()` resp. `$element` for `transclude:'element'` resp. `transclude:true`.
* * only needed for transcludes that are allowed to contain non html elements (e.g. SVG elements)
- * and when the `cloneLinkinFn` is passed,
+ * and when the `cloneLinkingFn` is passed,
* as those elements need to created and cloned in a special way when they are defined outside their
* usual containers (e.g. like `