aboutsummaryrefslogtreecommitdiffstats
path: root/src/AngularPublic.js
diff options
context:
space:
mode:
authorIgor Minar2012-05-22 23:05:26 -0700
committerIgor Minar2012-05-23 15:00:56 -0700
commit4511d39cc748288df70bdc258f98a8f36652e683 (patch)
tree17402bb4910b12c4b1a38778309a62addd2c947f /src/AngularPublic.js
parent15b8f205bb4e9797608ce440075e5149db6e6d45 (diff)
downloadangular.js-4511d39cc748288df70bdc258f98a8f36652e683.tar.bz2
feat($timeout): add $timeout service that supersedes $defer
$timeout has a better name ($defer got often confused with something related to $q) and is actually promise based with cancelation support. With this commit the $defer service is deprecated and will be removed before 1.0. Closes #704, #532
Diffstat (limited to 'src/AngularPublic.js')
-rw-r--r--src/AngularPublic.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js
index a9124482..54536b43 100644
--- a/src/AngularPublic.js
+++ b/src/AngularPublic.js
@@ -125,6 +125,7 @@ function publishExternalAPI(angular){
$q: $QProvider,
$sniffer: $SnifferProvider,
$templateCache: $TemplateCacheProvider,
+ $timeout: $TimeoutProvider,
$window: $WindowProvider
});
}