* **Note:** Here is a list of values that ngHide will consider as a falsy value (case insensitive):
* "f" / "0" / "false" / "no" / "n" / "[]"
diff --git a/src/ng/directive/ngTransclude.js b/src/ng/directive/ngTransclude.js
index 44d50e03..bcc657d1 100644
--- a/src/ng/directive/ngTransclude.js
+++ b/src/ng/directive/ngTransclude.js
@@ -64,7 +64,7 @@ var ngTranscludeDirective = ngDirective({
'Element: {0}',
startingTag($element));
}
-
+
$transclude(function(clone) {
$element.empty();
$element.append(clone);
diff --git a/src/ng/exceptionHandler.js b/src/ng/exceptionHandler.js
index 342f38fc..8899bf39 100644
--- a/src/ng/exceptionHandler.js
+++ b/src/ng/exceptionHandler.js
@@ -9,12 +9,12 @@
* Any uncaught exception in angular expressions is delegated to this service.
* The default implementation simply delegates to `$log.error` which logs it into
* the browser console.
- *
+ *
* In unit tests, if `angular-mocks.js` is loaded, this service is overridden by
* {@link ngMock.$exceptionHandler mock $exceptionHandler} which aids in testing.
*
* ## Example:
- *
+ *
* ```js
* angular.module('exceptionOverride', []).factory('$exceptionHandler', function () {
* return function (exception, cause) {
@@ -23,7 +23,7 @@
* };
* });
* ```
- *
+ *
* This example will override the normal action of `$exceptionHandler`, to make angular
* exceptions fail hard when they happen, instead of just logging to the console.
*
diff --git a/src/ng/filter.js b/src/ng/filter.js
index c78f526e..5010b130 100644
--- a/src/ng/filter.js
+++ b/src/ng/filter.js
@@ -32,7 +32,7 @@
*
* The filter function is registered with the `$injector` under the filter name suffix with
* `Filter`.
- *
+ *
* ```js
* it('should be the same instance', inject(
* function($filterProvider) {
@@ -106,7 +106,7 @@ function $FilterProvider($provide) {
}];
////////////////////////////////////////
-
+
/* global
currencyFilter: false,
dateFilter: false,
diff --git a/src/ng/filter/limitTo.js b/src/ng/filter/limitTo.js
index aa112cf6..7e198cb3 100644
--- a/src/ng/filter/limitTo.js
+++ b/src/ng/filter/limitTo.js
@@ -11,9 +11,9 @@
* the value and sign (positive or negative) of `limit`.
*
* @param {Array|string} input Source array or string to be limited.
- * @param {string|number} limit The length of the returned array or string. If the `limit` number
+ * @param {string|number} limit The length of the returned array or string. If the `limit` number
* is positive, `limit` number of items from the beginning of the source array/string are copied.
- * If the number is negative, `limit` number of items from the end of the source array/string
+ * If the number is negative, `limit` number of items from the end of the source array/string
* are copied. The `limit` will be trimmed if it exceeds `array.length`
* @returns {Array|string} A new sub-array or substring of length `limit` or less if input array
* had less than `limit` elements.
@@ -72,7 +72,7 @@
function limitToFilter(){
return function(input, limit) {
if (!isArray(input) && !isString(input)) return input;
-
+
limit = int(limit);
if (isString(input)) {
diff --git a/src/ng/http.js b/src/ng/http.js
index 04cb3d28..94076e72 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -556,7 +556,7 @@ function $HttpProvider() {
* - **withCredentials** - `{boolean}` - whether to to set the `withCredentials` flag on the
* XHR object. See [requests with credentials]https://developer.mozilla.org/en/http_access_control#section_5
* for more information.
- * - **responseType** - `{string}` - see
+ * - **responseType** - `{string}` - see
* [requestType](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#responseType).
*
* @returns {HttpPromise} Returns a {@link ng.$q promise} object with the
diff --git a/src/ng/httpBackend.js b/src/ng/httpBackend.js
index c3805e35..ee2a37fe 100644
--- a/src/ng/httpBackend.js
+++ b/src/ng/httpBackend.js
@@ -112,7 +112,7 @@ function createHttpBackend($browser, createXhr, $browserDefer, callbacks, rawDoc
// WebKit added support for the json responseType value on 09/03/2013
// https://bugs.webkit.org/show_bug.cgi?id=73648. Versions of Safari prior to 7 are
// known to throw when setting the value "json" as the response type. Other older
- // browsers implementing the responseType
+ // browsers implementing the responseType
//
// The json response type can be ignored if not supported, because JSON payloads are
// parsed on the client-side regardless.
diff --git a/src/ng/log.js b/src/ng/log.js
index e228701b..f704184a 100644
--- a/src/ng/log.js
+++ b/src/ng/log.js
@@ -8,7 +8,7 @@
* @description
* Simple service for logging. Default implementation safely writes the message
* into the browser's console (if present).
- *
+ *
* The main purpose of this service is to simplify debugging and troubleshooting.
*
* The default is to log `debug` messages. You can use
@@ -45,7 +45,7 @@
function $LogProvider(){
var debug = true,
self = this;
-
+
/**
* @ngdoc property
* @name $logProvider#debugEnabled
@@ -61,7 +61,7 @@ function $LogProvider(){
return debug;
}
};
-
+
this.$get = ['$window', function($window){
return {
/**
@@ -99,11 +99,11 @@ function $LogProvider(){
* Write an error message
*/
error: consoleLog('error'),
-
+
/**
* @ngdoc method
* @name $log#debug
- *
+ *
* @description
* Write a debug message
*/
diff --git a/src/ng/q.js b/src/ng/q.js
index 60711a7b..e7ff26ef 100644
--- a/src/ng/q.js
+++ b/src/ng/q.js
@@ -18,7 +18,7 @@
* ```js
* // for the purpose of this example let's assume that variables `$q`, `scope` and `okToGreet`
* // are available in the current lexical scope (they could have been injected or passed in).
- *
+ *
* function asyncGreet(name) {
* var deferred = $q.defer();
*
diff --git a/src/ng/sce.js b/src/ng/sce.js
index 9eaf9097..c9a1b3e6 100644
--- a/src/ng/sce.js
+++ b/src/ng/sce.js
@@ -446,7 +446,7 @@ function $SceDelegateProvider() {
* allowing only the files in a specific directory to do this. Ensuring that the internal API
* exposed by that code doesn't markup arbitrary values as safe then becomes a more manageable task.
*
- * In the case of AngularJS' SCE service, one uses {@link ng.$sce#methods_trustAs $sce.trustAs}
+ * In the case of AngularJS' SCE service, one uses {@link ng.$sce#methods_trustAs $sce.trustAs}
* (and shorthand methods such as {@link ng.$sce#methods_trustAsHtml $sce.trustAsHtml}, etc.) to
* obtain values that will be accepted by SCE / privileged contexts.
*
diff --git a/src/ng/timeout.js b/src/ng/timeout.js
index 8bca2962..d205c4d2 100644
--- a/src/ng/timeout.js
+++ b/src/ng/timeout.js
@@ -30,7 +30,7 @@ function $TimeoutProvider() {
* will invoke `fn` within the {@link ng.$rootScope.Scope#methods_$apply $apply} block.
* @returns {Promise} Promise that will be resolved when the timeout is reached. The value this
* promise will be resolved with is the return value of the `fn` function.
- *
+ *
*/
function timeout(fn, delay, invokeApply) {
var deferred = $q.defer(),
diff --git a/src/ngCookies/cookies.js b/src/ngCookies/cookies.js
index a94e241f..3a23b5db 100644
--- a/src/ngCookies/cookies.js
+++ b/src/ngCookies/cookies.js
@@ -7,7 +7,7 @@
*
* # ngCookies
*
- * The `ngCookies` module provides a convenient wrapper for reading and writing browser cookies.
+ * The `ngCookies` module provides a convenient wrapper for reading and writing browser cookies.
*
* {@installModule cookies}
*
diff --git a/src/ngResource/resource.js b/src/ngResource/resource.js
index 98619918..2074d942 100644
--- a/src/ngResource/resource.js
+++ b/src/ngResource/resource.js
@@ -152,7 +152,7 @@ function shallowClearAndCopy(src, dst) {
* 'remove': {method:'DELETE'},
* 'delete': {method:'DELETE'} };
* ```
- *
+ *
* Calling these methods invoke an {@link ng.$http} with the specified http method,
* destination and parameters. When the data is returned from the server then the object is an
* instance of the resource class. The actions `save`, `remove` and `delete` are available on it
@@ -281,7 +281,7 @@ function shallowClearAndCopy(src, dst) {
* var app = angular.module('app', ['ngResource', 'ngRoute']);
*
* // Some APIs expect a PUT request in the format URL/object/ID
- * // Here we are creating an 'update' method
+ * // Here we are creating an 'update' method
* app.factory('Notes', ['$resource', function($resource) {
* return $resource('/notes/:id', null,
* {
diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js
index 94c4b581..d078ea0b 100644
--- a/src/ngRoute/route.js
+++ b/src/ngRoute/route.js
@@ -11,7 +11,7 @@
*
* ## Example
* See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`.
- *
+ *
* {@installModule route}
*
*
@@ -28,7 +28,7 @@ var ngRouteModule = angular.module('ngRoute', ['ng']).
* @description
*
* Used for configuring routes.
- *
+ *
* ## Example
* See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`.
*
diff --git a/src/ngScenario/ObjectModel.js b/src/ngScenario/ObjectModel.js
index 14672080..5deefdc4 100644
--- a/src/ngScenario/ObjectModel.js
+++ b/src/ngScenario/ObjectModel.js
@@ -141,7 +141,7 @@ angular.scenario.ObjectModel.prototype.on = function(eventName, listener) {
angular.scenario.ObjectModel.prototype.emit = function(eventName) {
var self = this,
args = Array.prototype.slice.call(arguments, 1);
-
+
eventName = eventName.toLowerCase();
if (this.listeners[eventName]) {
diff --git a/src/ngTouch/touch.js b/src/ngTouch/touch.js
index 052cbdd3..45b518d8 100644
--- a/src/ngTouch/touch.js
+++ b/src/ngTouch/touch.js
@@ -8,7 +8,7 @@
* # ngTouch
*
* The `ngTouch` module provides touch events and other helpers for touch-enabled devices.
- * The implementation is based on jQuery Mobile touch event handling
+ * The implementation is based on jQuery Mobile touch event handling
* ([jquerymobile.com](http://jquerymobile.com/)).
*
* {@installModule touch}
diff --git a/test/ngRoute/directive/ngViewSpec.js b/test/ngRoute/directive/ngViewSpec.js
index bf134f82..072c232b 100644
--- a/test/ngRoute/directive/ngViewSpec.js
+++ b/test/ngRoute/directive/ngViewSpec.js
@@ -727,7 +727,7 @@ describe('ngView animations', function() {
$rootScope.$digest();
//we don't care about the enter animation for the first element
- $animate.queue.pop();
+ $animate.queue.pop();
$location.path('/bar');
$rootScope.$digest();
@@ -756,7 +756,7 @@ describe('ngView animations', function() {
$rootScope.$digest();
//we don't care about the enter animation
- $animate.queue.shift();
+ $animate.queue.shift();
var animation = $animate.queue.shift();
expect(animation.event).toBe('addClass');
@@ -776,7 +776,7 @@ describe('ngView animations', function() {
$rootScope.$digest();
//we don't care about the enter animation
- $animate.queue.shift();
+ $animate.queue.shift();
animation = $animate.queue.shift();
item = animation.element;
--
cgit v1.2.3