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
This commit is contained in:
Igor Minar
2012-05-22 23:05:26 -07:00
parent 15b8f205bb
commit 4511d39cc7
8 changed files with 284 additions and 1 deletions

1
angularFiles.js vendored
View File

@@ -29,6 +29,7 @@ angularFiles = {
'src/ng/http.js',
'src/ng/httpBackend.js',
'src/ng/locale.js',
'src/ng/timeout.js',
'src/ng/filter.js',
'src/ng/filter/filter.js',