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

Commit 5b31b37

Browse files
frederikprijckgkalpak
authored andcommitted
docs(*): change Angular to AngularJS
Closes #16163
1 parent c9691a2 commit 5b31b37

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the
2626
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:yBpEi4).
2727
-->
2828

29-
**Angular version:** 1.x.y
29+
**AngularJS version:** 1.x.y
3030
<!-- Check whether this is still an issue in the most recent stable or in the snapshot AngularJS version (https://code.angularjs.org/snapshot/) -->
3131

3232
**Browser:** [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

CHANGELOG.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131

132132

133133
## Bug Fixes
134-
- **Angular:**
134+
- **AngularJS:**
135135
- do not auto-bootstrap if the `src` exists but is empty
136136
([3536e8](https://github.com/angular/angular.js/commit/3536e83d8a085b02bd6dcec8324800b7e6c734e4))
137137
- do not auto bootstrap if the currentScript has been clobbered
@@ -702,7 +702,7 @@ consolidating all the changes shown in the previous 1.6.0 release candidates.**
702702

703703
Previously, `$compileProvider.preAssignBindingsEnabled` was set to true by default. This means
704704
bindings were pre-assigned on component/directive controller instances (which made them available
705-
inside the constructors). In Angular 1.5+ the place to put the initialization logic relying on
705+
inside the constructors). In AngularJS 1.5+ the place to put the initialization logic relying on
706706
bindings being present is the controller's `$onInit` method.
707707

708708
To migrate follow the example below:
@@ -1902,7 +1902,7 @@ validation), you can overwrite the built-in `step` validator with a custom direc
19021902
# 1.5.9 timeturning-lockdown (2016-11-24)
19031903

19041904
This is an interim release primarily to publish some security fixes, in particular a modification to
1905-
ensure that Angular 1 can pass the linter checks for Mozilla add-ons.
1905+
ensure that AngularJS can pass the linter checks for Mozilla add-ons.
19061906

19071907
## Security Fixes
19081908
- **bootstrap:**
@@ -1990,7 +1990,7 @@ ensure that Angular 1 can pass the linter checks for Mozilla add-ons.
19901990

19911991
Previously, `$compileProvider.preAssignBindingsEnabled` was
19921992
set to true by default. This means bindings were pre-assigned in component
1993-
constructors. In Angular 1.5+ the place to put the initialization logic
1993+
constructors. In AngularJS 1.5+ the place to put the initialization logic
19941994
relying on bindings being present is the controller `$onInit` method.
19951995

19961996
To migrate follow the example below:
@@ -5116,12 +5116,12 @@ before the $parsers are applied. Previously, the modelValue
51165116

51175117
This fixes issues where `input[date]` and `input[number]` cannot
51185118
be validated because the viewValue string is parsed into
5119-
`Date` and `Number` respectively (starting with Angular 1.3).
5119+
`Date` and `Number` respectively (starting with AngularJS 1.3).
51205120
It also brings the directives in line with HTML5 constraint
51215121
validation, which validates against the input value.
51225122

51235123
This change is unlikely to cause applications to fail, because even
5124-
in Angular 1.2, the value that was validated by pattern could have
5124+
in AngularJS 1.2, the value that was validated by pattern could have
51255125
been manipulated by the $parsers, as all validation was done
51265126
inside this pipeline.
51275127

@@ -5232,12 +5232,12 @@ before the $parsers are applied. Previously, the modelValue
52325232

52335233
This fixes issues where `input[date]` and `input[number]` cannot
52345234
be validated because the viewValue string is parsed into
5235-
`Date` and `Number` respectively (starting with Angular 1.3).
5235+
`Date` and `Number` respectively (starting with AngularJS 1.3).
52365236
It also brings the directives in line with HTML5 constraint
52375237
validation, which validates against the input value.
52385238

52395239
This change is unlikely to cause applications to fail, because even
5240-
in Angular 1.2, the value that was validated by pattern could have
5240+
in AngularJS 1.2, the value that was validated by pattern could have
52415241
been manipulated by the $parsers, as all validation was done
52425242
inside this pipeline.
52435243

@@ -5451,7 +5451,7 @@ describe('$q.when', function() {
54515451
it('should not need a call to $timeout.flush() to resolve already resolved promises',
54525452
inject(function($q, $timeout) {
54535453
$q.when('foo');
5454-
// In Angular 1.4.3 a call to `$timeout.flush();` was needed
5454+
// In AngularJS 1.4.3 a call to `$timeout.flush();` was needed
54555455
$timeout.verifyNoPendingTasks();
54565456
}));
54575457

@@ -6927,7 +6927,7 @@ it is now implemented in the ngOptions directive itself.
69276927
the `select` directive will now use strict comparison of the `ngModel` scope value against `option`
69286928
values to determine which option is selected. This means `Number` scope values will not be matched
69296929
against numeric option strings.
6930-
In Angular 1.3.x, setting `scope.x = 200` would select the `option` with the value 200 in the following `select`:
6930+
In AngularJS 1.3.x, setting `scope.x = 200` would select the `option` with the value 200 in the following `select`:
69316931

69326932
```
69336933
<select ng-model="x">
@@ -6936,7 +6936,7 @@ In Angular 1.3.x, setting `scope.x = 200` would select the `option` with the val
69366936
</select>
69376937
```
69386938

6939-
In Angular 1.4.x, the 'unknown option' will be selected.
6939+
In AngularJS 1.4.x, the 'unknown option' will be selected.
69406940
To remedy this, you can simply initialize the model as a string: `scope.x = '200'`, or if you want to
69416941
keep the model as a `Number`, you can do the conversion via `$formatters` and `$parsers` on `ngModel`:
69426942

@@ -15510,7 +15510,7 @@ with the `$route` service
1551015510

1551115511
### Breaking changes
1551215512
- we now support ISO 8601 extended format datetime strings (YYYY-MM-DDTHH:mm:ss.SSSZ) as defined
15513-
in EcmaScript 5 throughout angular. This means that the following apis switched from
15513+
in EcmaScript 5 throughout AngularJS. This means that the following apis switched from
1551415514
YYYY-MM-DDTHH:mm:ssZ to YYYY-MM-DDTHH:mm:ss.SSSZ (note the added millis) when representing dates:
1551515515
- angular.Date.toString
1551615516
- angular.String.fromDate

docs/content/guide/migration.ngdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,12 +1685,12 @@ before the $parsers are applied. Previously, the `$modelValue`
16851685

16861686
This fixes issues where `input[date]` and `input[number]` cannot
16871687
be validated because the `$viewValue` string is parsed into
1688-
`Date` and `Number` respectively (starting with Angular 1.3).
1688+
`Date` and `Number` respectively (starting with AngularJS 1.3).
16891689
It also brings the directives in line with HTML5 constraint
16901690
validation, which validates against the input value.
16911691

16921692
This change is unlikely to cause applications to fail, because even
1693-
in Angular 1.2, the value that was validated by pattern could have
1693+
in AngularJS 1.2, the value that was validated by pattern could have
16941694
been manipulated by the $parsers, as all validation was done
16951695
inside this pipeline.
16961696

test/ngRoute/directive/ngViewSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ describe('ngView', function() {
191191
it('should use inline content route changes', function() {
192192
module(function($routeProvider) {
193193
$routeProvider.when('/foo', {template: '<div>{{1+3}}</div>'});
194-
$routeProvider.when('/bar', {template: 'angular is da best'});
194+
$routeProvider.when('/bar', {template: 'AngularJS is da best'});
195195
$routeProvider.when('/blank', {template: ''});
196196
});
197197

@@ -204,7 +204,7 @@ describe('ngView', function() {
204204

205205
$location.path('/bar');
206206
$rootScope.$digest();
207-
expect(element.text()).toEqual('angular is da best');
207+
expect(element.text()).toEqual('AngularJS is da best');
208208

209209
$location.path('/blank');
210210
$rootScope.$digest();

0 commit comments

Comments
 (0)