@@ -241,7 +241,7 @@ An expression that starts with `::` is considered a one-time expression. One-tim
241241will stop recalculating once they are stable, which happens after the first digest if the expression
242242result is a non-undefined value (see value stabilization algorithm below).
243243
244- <example module="oneTimeBidingExampleApp " name="expression-one-time">
244+ <example module="oneTimeBindingExampleApp " name="expression-one-time">
245245 <file name="index.html">
246246 <div ng-controller="EventController">
247247 <button ng-click="clickMe($event)">Click Me</button>
@@ -250,7 +250,7 @@ result is a non-undefined value (see value stabilization algorithm below).
250250 </div>
251251 </file>
252252 <file name="script.js">
253- angular.module('oneTimeBidingExampleApp ', []).
253+ angular.module('oneTimeBindingExampleApp ', []).
254254 controller('EventController', ['$scope', function($scope) {
255255 var counter = 0;
256256 var names = ['Igor', 'Misko', 'Chirayu', 'Lucas'];
@@ -265,24 +265,24 @@ result is a non-undefined value (see value stabilization algorithm below).
265265 </file>
266266 <file name="protractor.js" type="protractor">
267267 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'));
269269 var normalBinding = element(by.id('normal-binding-example'));
270270
271- expect(oneTimeBiding .getText()).toEqual('One time binding:');
271+ expect(oneTimeBinding .getText()).toEqual('One time binding:');
272272 expect(normalBinding.getText()).toEqual('Normal binding:');
273273 element(by.buttonText('Click Me')).click();
274274
275- expect(oneTimeBiding .getText()).toEqual('One time binding: Igor');
275+ expect(oneTimeBinding .getText()).toEqual('One time binding: Igor');
276276 expect(normalBinding.getText()).toEqual('Normal binding: Igor');
277277 element(by.buttonText('Click Me')).click();
278278
279- expect(oneTimeBiding .getText()).toEqual('One time binding: Igor');
279+ expect(oneTimeBinding .getText()).toEqual('One time binding: Igor');
280280 expect(normalBinding.getText()).toEqual('Normal binding: Misko');
281281
282282 element(by.buttonText('Click Me')).click();
283283 element(by.buttonText('Click Me')).click();
284284
285- expect(oneTimeBiding .getText()).toEqual('One time binding: Igor');
285+ expect(oneTimeBinding .getText()).toEqual('One time binding: Igor');
286286 expect(normalBinding.getText()).toEqual('Normal binding: Lucas');
287287 });
288288 </file>
0 commit comments