From 54d433a06f45399cb63e0b2db6c31c8804c30e06 Mon Sep 17 00:00:00 2001 From: thuey Date: Sat, 31 Oct 2015 16:22:17 -0600 Subject: [PATCH] Update documentation Help disambiguate the usage of $ionicLoading.hide() vs $ionicLoading instance.hide() --- js/angular/service/loading.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/angular/service/loading.js b/js/angular/service/loading.js index 9223089079b..33bd79b7423 100644 --- a/js/angular/service/loading.js +++ b/js/angular/service/loading.js @@ -82,7 +82,9 @@ function($ionicLoadingConfig, $ionicBody, $ionicTemplateLoader, $ionicBackdrop, * @ngdoc method * @name $ionicLoading#show * @description Shows a loading indicator. If the indicator is already shown, - * it will set the options given and keep the indicator shown. + * it will set the options given and keep the indicator shown. Note: While this + * function still returns an $ionicLoading instance for backwards compatiblity, + * its use has been deprecated. * @param {object} opts The options for the loading indicator. Available properties: * - `{string=}` `template` The html content of the indicator. * - `{string=}` `templateUrl` The url of an html template to load as the content of the indicator.