From 66382cb1bf2e4ee19f0aa3fd11077bd2f00ee548 Mon Sep 17 00:00:00 2001 From: gokulkrishh Date: Mon, 22 Dec 2014 17:42:18 +0530 Subject: [PATCH] Fix spelling mistake and grammar correction --- docs/content/guide/bootstrap.ngdoc | 4 ++-- docs/content/guide/migration.ngdoc | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/content/guide/bootstrap.ngdoc b/docs/content/guide/bootstrap.ngdoc index eae018a3472a..e4ee71896dbd 100644 --- a/docs/content/guide/bootstrap.ngdoc +++ b/docs/content/guide/bootstrap.ngdoc @@ -88,7 +88,7 @@ As a best practice, consider adding an `ng-strict-di` directive on the same elem ``` This will ensure that all services in your application are properly annotated. -See the {@link guide/di#using-strict-dependency-injection dependancy injection strict mode} docs +See the {@link guide/di#using-strict-dependency-injection dependency injection strict mode} docs for more. @@ -156,4 +156,4 @@ until `angular.resumeBootstrap()` is called. `angular.resumeBootstrap()` takes an optional array of modules that should be added to the original list of modules that the app was -about to be bootstrapped with. +about to be bootstrapped with. \ No newline at end of file diff --git a/docs/content/guide/migration.ngdoc b/docs/content/guide/migration.ngdoc index 2f46a4933a17..d5217cac79a3 100644 --- a/docs/content/guide/migration.ngdoc +++ b/docs/content/guide/migration.ngdoc @@ -21,7 +21,7 @@ which drives many of these changes. You can no longer invoke .bind, .call or .apply on a function in angular expressions. This is to disallow changing the behaviour of existing functions -in an unforseen fashion. +in an unforeseen fashion. - due to [6081f207](https://github.com/angular/angular.js/commit/6081f20769e64a800ee8075c168412b21f026d99), @@ -877,7 +877,7 @@ of `$sce.trustAsHtml(string)`. When bound to a plain string, the string is sanit module is not loaded) and the bound expression evaluates to a value that is not trusted an exception is thrown. -When using this directive you can either include `ngSanitize` in your module's dependencis (See the +When using this directive you can either include `ngSanitize` in your module's dependencies (See the example at the {@link ngBindHtml} reference) or use the {@link $sce} service to set the value as trusted. @@ -1134,10 +1134,10 @@ freely available to JavaScript code (as before). Angular expressions execute in a limited context. They do not have direct access to the global scope, `window`, `document` or the Function -constructor. However, they have direct access to names/properties on -the scope chain. It has been a long standing best practice to keep +constructor. However, they have direct access to names/properties on +the scope chain. It has been a long standing best practice to keep sensitive APIs outside of the scope chain (in a closure or your -controller.) That's easier said that done for two reasons: +controller.) That's easier said than done for two reasons: 1. JavaScript does not have a notion of private properties so if you need someone on the scope chain for JavaScript use, you also expose it to @@ -1218,4 +1218,4 @@ myApp.service 'applicationSrvc', -> to continue to return the complete instance. -See [c22adbf1](https://github.com/angular/angular.js/commit/c22adbf160f32c1839fbb35382b7a8c6bcec2927). +See [c22adbf1](https://github.com/angular/angular.js/commit/c22adbf160f32c1839fbb35382b7a8c6bcec2927). \ No newline at end of file