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

Commit e9a6792

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

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

CHANGELOG.md

+12-12
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:
@@ -5104,12 +5104,12 @@ before the $parsers are applied. Previously, the modelValue
51045104

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

51115111
This change is unlikely to cause applications to fail, because even
5112-
in Angular 1.2, the value that was validated by pattern could have
5112+
in AngularJS 1.2, the value that was validated by pattern could have
51135113
been manipulated by the $parsers, as all validation was done
51145114
inside this pipeline.
51155115

@@ -5220,12 +5220,12 @@ before the $parsers are applied. Previously, the modelValue
52205220

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

52275227
This change is unlikely to cause applications to fail, because even
5228-
in Angular 1.2, the value that was validated by pattern could have
5228+
in AngularJS 1.2, the value that was validated by pattern could have
52295229
been manipulated by the $parsers, as all validation was done
52305230
inside this pipeline.
52315231

@@ -5439,7 +5439,7 @@ describe('$q.when', function() {
54395439
it('should not need a call to $timeout.flush() to resolve already resolved promises',
54405440
inject(function($q, $timeout) {
54415441
$q.when('foo');
5442-
// In Angular 1.4.3 a call to `$timeout.flush();` was needed
5442+
// In AngularJS 1.4.3 a call to `$timeout.flush();` was needed
54435443
$timeout.verifyNoPendingTasks();
54445444
}));
54455445

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

69206920
```
69216921
<select ng-model="x">
@@ -6924,7 +6924,7 @@ In Angular 1.3.x, setting `scope.x = 200` would select the `option` with the val
69246924
</select>
69256925
```
69266926

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

@@ -15498,7 +15498,7 @@ with the `$route` service
1549815498

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

docs/content/guide/migration.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1684,12 +1684,12 @@ before the $parsers are applied. Previously, the `$modelValue`
16841684

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

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

test/ngRoute/directive/ngViewSpec.js

+2-2
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)