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

Commit 0304383

Browse files
docs(*): ensure naming is correct for Angular(JS) versions
1 parent d24617b commit 0304383

File tree

176 files changed

+983
-985
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+983
-985
lines changed

.github/ISSUE_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222

23-
**Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.**
23+
**Which versions of AngularJS, and which browser / OS are affected by this issue? Did this work in previous versions of AngularJS? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.**
2424

2525

2626

CONTRIBUTING.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ today! Here are the guidelines we'd like you to follow:
1515

1616
## <a name="coc"></a> Code of Conduct
1717

18-
Help us keep Angular open and inclusive. Please read and follow our [Code of Conduct][coc].
18+
Help us keep AngularJS open and inclusive. Please read and follow our [Code of Conduct][coc].
1919

2020
## <a name="question"></a> Got a Question or Problem?
2121

@@ -29,7 +29,7 @@ If you find a bug in the source code or a mistake in the documentation, you can
2929
submitting an issue to our [GitHub Repository][github]. Even better you can submit a Pull Request
3030
with a fix.
3131

32-
**Localization Issues:** Angular.js uses the [Google Closure I18N library] to generate
32+
**Localization Issues:** AngularJS uses the [Google Closure I18N library] to generate
3333
its own I18N files (the ngLocale module). This means that any changes to these files would be lost
3434
the next time that we import the library.
3535
Since the Closure library i18n data is itself auto-generated from the data of the
@@ -81,7 +81,7 @@ quickly:
8181

8282
* **Overview of the Issue** - if an error is being thrown a non-minified stack trace helps
8383
* **Motivation for or Use Case** - explain why this is a bug for you
84-
* **Angular Version(s)** - is it a regression?
84+
* **AngularJS Version(s)** - is it a regression?
8585
* **Browsers and Operating System** - is this a problem with all browsers or only specific ones?
8686
* **Reproduce the Error** - provide a live example (using [Plunker][plunker] or
8787
[JSFiddle][jsfiddle]) or an unambiguous set of steps.
@@ -108,7 +108,7 @@ Before you submit your pull request consider the following guidelines:
108108

109109
* Create your patch, **including appropriate test cases**.
110110
* Follow our [Coding Rules](#rules).
111-
* Run the full Angular test suite, as described in the [developer documentation][dev-doc],
111+
* Run the full AngularJS test suite, as described in the [developer documentation][dev-doc],
112112
and ensure that all tests pass.
113113
* Commit your changes using a descriptive commit message that follows our
114114
[commit message conventions](#commit) and passes our commit message presubmit hook
@@ -132,11 +132,11 @@ Before you submit your pull request consider the following guidelines:
132132
git push origin my-fix-branch
133133
```
134134

135-
In GitHub, send a pull request to `angular:master`.
135+
In GitHub, send a pull request to `angular.js:master`.
136136
If we suggest changes, then:
137137

138138
* Make the required updates.
139-
* Re-run the Angular test suite to ensure tests are still passing.
139+
* Re-run the AngularJS test suite to ensure tests are still passing.
140140
* Commit your changes to your branch (e.g. `my-fix-branch`).
141141
* Push the changes to your GitHub repository (this will update your Pull Request).
142142

@@ -189,10 +189,10 @@ To ensure consistency throughout the source code, keep these rules in mind as yo
189189
* All features or bug fixes **must be tested** by one or more [specs][unit-testing].
190190
* All public API methods **must be documented** with ngdoc, an extended version of jsdoc (we added
191191
support for markdown and templating via @ngdoc tag). To see how we document our APIs, please check
192-
out the existing ngdocs and see [this wiki page][ngDocs].
192+
out the existing source code and see [this wiki page][ngDocs].
193193
* With the exceptions listed below, we follow the rules contained in
194194
[Google's JavaScript Style Guide][js-style-guide]:
195-
* **Do not use namespaces**: Instead, wrap the entire angular code base in an anonymous closure and
195+
* **Do not use namespaces**: Instead, wrap the entire AngularJS code base in an anonymous closure and
196196
export our API explicitly rather than implicitly.
197197
* Wrap all code at **100 characters**.
198198
* Instead of complex inheritance hierarchies, we **prefer simple objects**. We use prototypal

README.closure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ in its `contrib/externs` directory.
77
The definitions contain externs for use with the Closure compiler (aka
88
JSCompiler). Passing these files to the --externs parameter of a compiler
99
pass allows using type annotations for AngularJS objects. For example,
10-
Angular's $scope objects can be annotated as:
10+
AngularJS's $scope objects can be annotated as:
1111
```js
1212
/** @type {angular.Scope} */
1313
var scope = $scope;

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ piece of cake. Best of all? It makes development fun!
1919
* Contribution guidelines: [CONTRIBUTING.md](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md)
2020
* Dashboard: https://dashboard.angularjs.org
2121

22-
##### Looking for Angular 2? Go here: https://github.com/angular/angular
22+
##### Looking for the new Angular? Go here: https://github.com/angular/angular
2323

2424
Building AngularJS
2525
---------
@@ -80,7 +80,7 @@ HTML is also used to determine the wiring of the app. Special attributes in the
8080
to load the app, which components or controllers to use for each element, etc. We specify "what"
8181
gets loaded, but not "how". This declarative approach greatly simplifies app development in a sort
8282
of WYSIWYG way. Rather than spending time on how the program flows and orchestrating the various
83-
moving parts, we simply define what we want and Angular will take care of the dependencies.
83+
moving parts, we simply define what we want and AngularJS will take care of the dependencies.
8484

8585
#### Data Handling made simple
8686
Data and Data Models in AngularJS are plain JavaScript objects and one can add and change properties

TRIAGING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Triage new issues/PRs on github
22

3-
This document shows the steps the Angular team is using to triage issues.
3+
This document shows the steps the AngularJS team is using to triage issues.
44
The labels are used later on for [planning releases](#assigning-work).
55

66

@@ -45,12 +45,12 @@ This process based on the idea of minimizing user pain
4545
1. Label `frequency: *` – How often does this issue come up? How many developers does this affect? Chose just one of the following:
4646
* low - obscure issue affecting a handful of developers
4747
* moderate - impacts a common usage pattern
48-
* high - impacts most or all Angular apps
48+
* high - impacts most or all AngularJS apps
4949
1. Label `severity: *` - How bad is the issue? Chose just one of the following:
5050
* security issue
5151
* regression
5252
* memory leak
53-
* broken expected use - it's hard or impossible for a developer using Angular to accomplish something that Angular should be able to do
53+
* broken expected use - it's hard or impossible for a developer using AngularJS to accomplish something that AngularJS should be able to do
5454
* confusing - unexpected or inconsistent behavior; hard-to-debug
5555
* inconvenience - causes ugly/boilerplate code in apps
5656
1. Label `component: *`

docs/config/templates/app/indexPage.template.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<div class="row">
7777
<div class="col-md-9 header-branding">
7878
<a class="brand navbar-brand" href="http://angularjs.org">
79-
<img width="117" height="30" class="logo" alt="Link to Angular JS Homepage" ng-src="img/angularjs-for-header-only.svg">
79+
<img width="117" height="30" class="logo" alt="Link to AngularJS Homepage" ng-src="img/angularjs-for-header-only.svg">
8080
</a>
8181
<ul class="nav navbar-nav">
8282
<li class="divider-vertical"></li>
@@ -217,7 +217,7 @@ <h4 class="search-results-group-heading">{{ key }}</h4>
217217
Super-powered by Google ©2010-2017
218218
(<a id="version"
219219
ng-href="https://github.com/angular/angular.js/blob/master/CHANGELOG.md#{{versionNumber}}"
220-
ng-bind-template="v{{version}}" title="Changelog of this version of Angular JS">
220+
ng-bind-template="v{{version}}" title="Changelog of this version of AngularJS">
221221
</a>)
222222
</p>
223223
<p>

docs/content/api/index.ngdoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ These components are {@link guide/directive directives}, {@link guide/services s
1111
There is also a {@link guide/index guide} with articles on various topics, and a list of external resources.
1212

1313
<div class="alert alert-info">
14-
**Angular Prefixes `$` and `$$`**:
14+
**AngularJS Prefixes `$` and `$$`**:
1515

1616
To prevent accidental name collisions with your code,
17-
Angular prefixes names of public objects with `$` and names of private objects with `$$`.
17+
AngularJS prefixes names of public objects with `$` and names of private objects with `$$`.
1818
Please do not use the `$` or `$$` prefix in your code.
1919
</div>
2020

21-
## Angular Modules
21+
## AngularJS Modules
2222

2323

2424
## {@link ng ng (core module)}
@@ -83,7 +83,7 @@ This module is provided by default and contains the core components of AngularJS
8383
</td>
8484
<td>
8585
<p>
86-
The core global API functions are attached to the angular object. These core functions are useful for low level JavaScript operations within your application.
86+
The core global API functions are attached to the `angular` object. These core functions are useful for low level JavaScript operations within your application.
8787
</p>
8888
<p>
8989
Some examples include:
@@ -130,7 +130,7 @@ Use ngRoute to enable URL routing to your application. The ngRoute module suppor
130130

131131
## {@link ngAnimate ngAnimate}
132132

133-
Use ngAnimate to enable animation features within your application. Various core ng directives will provide
133+
Use ngAnimate to enable animation features within your application. Various core AngularJS directives will provide
134134
animation hooks into your application when ngAnimate is included. Animations are defined by using CSS transitions/animations
135135
or JavaScript callbacks.
136136

docs/content/error/$animate/nocb.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@fullName Do not pass a callback to animate methods
44
@description
55

6-
Since Angular 1.3, the methods of {@link ng.$animate} do not accept a callback as the last parameter.
6+
Since AngularJS 1.3, the methods of {@link ng.$animate} do not accept a callback as the last parameter.
77
Instead, they return a promise to which you can attach `then` handlers to be run when the animation completes.
88

99
If you are getting this error then you need to update your code to use the promise-based API.

docs/content/error/$compile/infchng.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
This error occurs when the application's model becomes unstable because some `$onChanges` hooks are causing updates which then trigger
77
further calls to `$onChanges` that can never complete.
8-
Angular detects this situation and prevents an infinite loop from causing the browser to become unresponsive.
8+
AngularJS detects this situation and prevents an infinite loop from causing the browser to become unresponsive.
99

1010
For example, the situation can occur by setting up a `$onChanges()` hook which triggers an event on the component, which subsequently
1111
triggers the component's bound inputs to be updated:

docs/content/error/$http/badjsonp.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ value is `JSON_CALLBACK`.
1111
parameter is specified in the configuration object (or in the defaults) via the `jsonpCallbackParam`
1212
property. You must not provide your own parameter with this name in the configuratio of the request.
1313

14-
In previous versions of Angular, you specified where to add the callback parameter value via the
14+
In previous versions of AngularJS, you specified where to add the callback parameter value via the
1515
`JSON_CALLBACK` placeholder. This is no longer allowed.
1616

1717
To resolve this error, remove any parameters that have the same name as the `jsonpCallbackParam`;

docs/content/error/$injector/modulerr.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In AngularJS `1.2.0` and later, `ngRoute` has been moved to its own module.
1515
If you are getting this error after upgrading to `1.2.x` or later, be sure that you've
1616
installed {@link ngRoute `ngRoute`}.
1717

18-
### Monkey-patching Angular's `ng` module
18+
### Monkey-patching AngularJS's `ng` module
1919

2020
This error can also occur if you have tried to add your own components to the `ng` module.
2121
This has never been supported and from `1.3.0` it will actually trigger this error.

docs/content/error/$interpolate/badexpr.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
@fullName Expecting end operator
44
@description
55

6-
The Angular expression is missing the corresponding closing operator.
6+
The AngularJS expression is missing the corresponding closing operator.

docs/content/error/$interpolate/dupvalue.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ extension in your interpolation expression. The different choices have to be un
88

99
For more information about the MessageFormat syntax in interpolation
1010
expressions, please refer to MessageFormat extensions section at
11-
{@link guide/i18n#MessageFormat Angular i18n MessageFormat}
11+
{@link guide/i18n#MessageFormat AngularJS i18n MessageFormat}

docs/content/error/$interpolate/logicbug.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ bug mentioning the exact version of AngularJS used and we will fix it!
99

1010
For more information about the MessageFormat syntax in interpolation
1111
expressions, please refer to MessageFormat extensions section at
12-
{@link guide/i18n#MessageFormat Angular i18n MessageFormat}
12+
{@link guide/i18n#MessageFormat AngularJS i18n MessageFormat}

docs/content/error/$interpolate/nochgmustache.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ future commit and the github issue will help gauge urgency.
1414

1515
For more information about the MessageFormat syntax in interpolation
1616
expressions, please refer to MessageFormat extensions section at
17-
{@link guide/i18n#MessageFormat Angular i18n MessageFormat}
17+
{@link guide/i18n#MessageFormat AngularJS i18n MessageFormat}

docs/content/error/$interpolate/reqarg.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
@description
55

66
You must specify the MessageFormat function that you're using right after the
7-
comma following the Angular expression. Currently, the supported functions are
7+
comma following the AngularJS expression. Currently, the supported functions are
88
"plural" and "select" (for gender selections.)
99

1010
For more information about the MessageFormat syntax in interpolation
1111
expressions, please refer to MessageFormat extensions section at
12-
{@link guide/i18n#MessageFormat Angular i18n MessageFormat}
12+
{@link guide/i18n#MessageFormat AngularJS i18n MessageFormat}

docs/content/error/$interpolate/reqcomma.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ extension keyword in the extended interpolation syntax.
88

99
For more information about the MessageFormat syntax in interpolation
1010
expressions, please refer to MessageFormat extensions section at
11-
{@link guide/i18n#MessageFormat Angular i18n MessageFormat}
11+
{@link guide/i18n#MessageFormat AngularJS i18n MessageFormat}

docs/content/error/$interpolate/reqendbrace.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ brace to mark the end of the message.
88

99
For more information about the MessageFormat syntax in interpolation
1010
expressions, please refer to MessageFormat extensions section at
11-
{@link guide/i18n#MessageFormat Angular i18n MessageFormat}
11+
{@link guide/i18n#MessageFormat AngularJS i18n MessageFormat}

docs/content/error/$interpolate/reqopenbrace.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ braces.
99

1010
For more information about the MessageFormat syntax in interpolation
1111
expressions, please refer to MessageFormat extensions section at
12-
{@link guide/i18n#MessageFormat Angular i18n MessageFormat}
12+
{@link guide/i18n#MessageFormat AngularJS i18n MessageFormat}

docs/content/error/$interpolate/reqother.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ extensions require that you provide a message for the selection "other".
1010

1111
For more information about the MessageFormat syntax in interpolation
1212
expressions, please refer to MessageFormat extensions section at
13-
{@link guide/i18n#MessageFormat Angular i18n MessageFormat}
13+
{@link guide/i18n#MessageFormat AngularJS i18n MessageFormat}

docs/content/error/$interpolate/unknarg.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ unsupported or invalid.
99

1010
For more information about the MessageFormat syntax in interpolation
1111
expressions, please refer to MessageFormat extensions section at
12-
{@link guide/i18n#MessageFormat Angular i18n MessageFormat}
12+
{@link guide/i18n#MessageFormat AngularJS i18n MessageFormat}

docs/content/error/$interpolate/unsafe.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ You have attempted to use a MessageFormat extension in your interpolation expres
77

88
Read more about secure contexts at {@link ng.$sce Strict Contextual Escaping
99
(SCE)} and about the MessageFormat extensions at {@link
10-
guide/i18n#MessageFormat Angular i18n MessageFormat}.
10+
guide/i18n#MessageFormat AngularJS i18n MessageFormat}.

docs/content/error/$interpolate/untermstr.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
@fullName Unterminated string literal
44
@description
55

6-
The string literal was not terminated in your Angular expression.
6+
The string literal was not terminated in your AngularJS expression.

docs/content/error/$location/nobase.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ URL of the subcontext:
4040
</head>
4141
```
4242

43-
Before Angular 1.3 we didn't have this hard requirement and it was easy to write apps that worked
43+
Before AngularJS 1.3 we didn't have this hard requirement and it was easy to write apps that worked
4444
when deployed in the root context but were broken when moved to a sub-context because in the
4545
sub-context all absolute urls would resolve to the root context of the app. To prevent this,
4646
use relative URLs throughout your app:

docs/content/error/$parse/lexerr.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Occurs when an expression has a lexical error, for example a malformed number (0
77

88
The error message contains a more precise error.
99

10-
To resolve, learn more about {@link guide/expression Angular expressions}, identify the error and fix the expression's syntax.
10+
To resolve, learn more about {@link guide/expression AngularJS expressions}, identify the error and fix the expression's syntax.

docs/content/error/$parse/syntax.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
Occurs when there is a syntax error in an expression. These errors are thrown while compiling the expression.
77
The error message contains a more precise description of the error, including the location (column) in the expression where the error occurred.
88

9-
To resolve, learn more about {@link guide/expression Angular expressions}, identify the error and fix the expression's syntax.
9+
To resolve, learn more about {@link guide/expression AngularJS expressions}, identify the error and fix the expression's syntax.

docs/content/error/$parse/ueoe.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ Occurs when an expression is missing tokens at the end of the expression.
88
For example, forgetting to close a bracket or failing to properly escape quotes in an expression
99
will trigger this error.
1010

11-
To resolve, learn more about {@link guide/expression Angular expressions}, identify the error and
11+
To resolve, learn more about {@link guide/expression AngularJS expressions}, identify the error and
1212
fix the expression's syntax.

docs/content/error/$rootScope/infdig.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@description
55

66
This error occurs when the application's model becomes unstable and each `$digest` cycle triggers a state change and subsequent `$digest` cycle.
7-
Angular detects this situation and prevents an infinite loop from causing the browser to become unresponsive.
7+
AngularJS detects this situation and prevents an infinite loop from causing the browser to become unresponsive.
88

99
For example, the situation can occur by setting up a watch on a path and subsequently updating the same path when the value changes.
1010

@@ -26,7 +26,7 @@ $scope.getUsers = function() {
2626
};
2727
```
2828

29-
Since `getUsers()` returns a new array, Angular determines that the model is different on each `$digest`
29+
Since `getUsers()` returns a new array, AngularJS determines that the model is different on each `$digest`
3030
cycle, resulting in the error. The solution is to return the same array object if the elements have
3131
not changed:
3232

0 commit comments

Comments
 (0)