@@ -241,7 +241,7 @@ An expression that starts with `::` is considered a one-time expression. One-tim
241
241
will stop recalculating once they are stable, which happens after the first digest if the expression
242
242
result is a non-undefined value (see value stabilization algorithm below).
243
243
244
- <example module="oneTimeBidingExampleApp " name="expression-one-time">
244
+ <example module="oneTimeBindingExampleApp " name="expression-one-time">
245
245
<file name="index.html">
246
246
<div ng-controller="EventController">
247
247
<button ng-click="clickMe($event)">Click Me</button>
@@ -250,7 +250,7 @@ result is a non-undefined value (see value stabilization algorithm below).
250
250
</div>
251
251
</file>
252
252
<file name="script.js">
253
- angular.module('oneTimeBidingExampleApp ', []).
253
+ angular.module('oneTimeBindingExampleApp ', []).
254
254
controller('EventController', ['$scope', function($scope) {
255
255
var counter = 0;
256
256
var names = ['Igor', 'Misko', 'Chirayu', 'Lucas'];
@@ -265,24 +265,24 @@ result is a non-undefined value (see value stabilization algorithm below).
265
265
</file>
266
266
<file name="protractor.js" type="protractor">
267
267
it('should freeze binding after its value has stabilized', function() {
268
- var oneTimeBiding = element(by.id('one-time-binding-example'));
268
+ var oneTimeBinding = element(by.id('one-time-binding-example'));
269
269
var normalBinding = element(by.id('normal-binding-example'));
270
270
271
- expect(oneTimeBiding .getText()).toEqual('One time binding:');
271
+ expect(oneTimeBinding .getText()).toEqual('One time binding:');
272
272
expect(normalBinding.getText()).toEqual('Normal binding:');
273
273
element(by.buttonText('Click Me')).click();
274
274
275
- expect(oneTimeBiding .getText()).toEqual('One time binding: Igor');
275
+ expect(oneTimeBinding .getText()).toEqual('One time binding: Igor');
276
276
expect(normalBinding.getText()).toEqual('Normal binding: Igor');
277
277
element(by.buttonText('Click Me')).click();
278
278
279
- expect(oneTimeBiding .getText()).toEqual('One time binding: Igor');
279
+ expect(oneTimeBinding .getText()).toEqual('One time binding: Igor');
280
280
expect(normalBinding.getText()).toEqual('Normal binding: Misko');
281
281
282
282
element(by.buttonText('Click Me')).click();
283
283
element(by.buttonText('Click Me')).click();
284
284
285
- expect(oneTimeBiding .getText()).toEqual('One time binding: Igor');
285
+ expect(oneTimeBinding .getText()).toEqual('One time binding: Igor');
286
286
expect(normalBinding.getText()).toEqual('Normal binding: Lucas');
287
287
});
288
288
</file>
0 commit comments