Commit Graph

114 Commits

Author SHA1 Message Date
Audrey
df4798c0f9 Include type definition for $watchGroup
https://docs.angularjs.org/api/ng/type/$rootScope.Scope
2014-05-20 17:11:12 -04:00
vvakame
186dec970c Revert "Merge pull request #2213 from kostaad/patch-1" refs #2213
This reverts commit 16bdee388e, reversing
changes made to 68bf220ed5.
2014-05-20 17:26:03 +09:00
Masahiro Wakame
16bdee388e Merge pull request #2213 from kostaad/patch-1
allow angular.d.ts to be imported using AMD
2014-05-20 17:23:20 +09:00
Masahiro Wakame
b2526eb8ab Merge pull request #2205 from dmitri-gb/patch-1
Update angular.d.ts
2014-05-20 16:52:14 +09:00
kostaad
d3f3d9839f Update angular.d.ts 2014-05-18 22:26:35 -04:00
kostaad
146af7e4d3 allow angular.d.ts to be imported using AMD
currently if you do 
import angular = require("angular"); 
tsc will throw 2071 - Unable to resolve external module 'angular'
this 
declare module 'angular'{
    export var angular:ng.IAngularStatic;
}
declares such a module.
2014-05-18 21:56:20 -04:00
dmitri-gb
25fe7f0a13 Fix method signature in angular.d.ts 2014-05-17 17:27:27 +03:00
dmitri-gb
ca93622f0a Update angular.d.ts
Add aHrefSanitizationWhitelist and imgSrcSanitizationWhitelist to ICompileService
2014-05-17 16:57:37 +03:00
damianog
248ce05b59 Update angular.d.ts missing statusText property
On IHttpPromiseCallbackArg added missing statusText property.

From angular's API

    data – {string|Object} – The response body transformed with the transform functions.
    status – {number} – HTTP status code of the response.
    headers – {function([headerName])} – Header getter function.
    config – {Object} – The configuration object that was used to generate the request.
    statusText – {string} – HTTP status text of the response.
2014-05-14 11:51:29 +02:00
DamianEdwards
e7308ef0ff Added definition in Angular for $logProvider (ILogProvider)
- #1787
2014-05-05 14:19:38 -07:00
Basarat Ali Syed
a821755ea0 Update angular.d.ts
closes #2028
2014-04-12 21:26:10 +10:00
Aidiakapi
cbdaec6beb fix(angularjs): make Function.$inject optional
The $inject member of the global Function interface should be optional, to be consistent with actual functions.
2014-04-08 17:32:00 +02:00
Scott McArthur
b6a08def3b angular.d.ts IDocumentService extends IAugmentedJQuery
Updated IDocumentService to extend IAugmentedJQuery rather than Document. As per the API (http://docs.angularjs.org/api/ng.$document) it provides "A jQuery or jqLite wrapper for the browser's window.document object."
2014-03-18 22:36:53 +00:00
unknown
bd9d835aa7 Fix $q.when definition 2014-03-14 11:13:07 -04:00
Masahiro Wakame
859d88a644 Merge pull request #1687 from michelsalib/angular-animate
Adding angular $animate definition
2014-02-18 11:39:14 +09:00
Scott McArthur
4d64913cdb angular.d.ts Annotated spelt incorrectly
Fixed spelling mistake in parameter names. Changed all occurrences of `Annotaded` to `Annotated`
2014-02-15 20:37:05 +00:00
Michel Salib
59263e826b Add missing return types 2014-02-12 15:55:41 +01:00
Michel Salib
62f9fa8fda Adding angular $animate definition 2014-02-12 14:50:21 +01:00
Basarat Ali Syed
a981700446 Merge pull request #1650 from JohnKurlak/master
Added has() method to ng.auto.IInjectorService
2014-01-31 04:49:10 -08:00
basarat
7ddbd98419 angularjs revert marking arguments for link function as optional 2014-01-31 23:45:44 +11:00
John Kurlak
05ec01901c Added has() method to auto.IInjectorService
Angular added the has() method to $injector in version 1.2 (see: https://github.com/angular/angular.js/blob/g3_v1_2/src/auto/injector.js)
2014-01-30 11:30:35 -08:00
Michael Cox
0645d5c6f5 AngularJS: make IDirective.link() arguments optional 2014-01-27 16:52:01 +00:00
Michael Cox
2806d81cae AngularJS: Added promise hash signature to .all() 2014-01-27 14:22:51 +00:00
Michel Salib
9f86b20f3e Angular IModule::provider can accept a provider object as second argument 2014-01-17 15:40:23 +01:00
Basarat Syed
7a44f44079 Revert "added promise chaining for http"
This reverts commit ef8d6d25e8. Needs more tests
2014-01-15 16:47:45 +11:00
Basarat Ali Syed
ef8d6d25e8 added promise chaining for http
the type of variable num in below sample was not detected without this signature. 
```
var $http: ng.IHttpService;
declare function foo(): ng.IHttpPromise<number>;
declare function bar(): ng.IHttpPromise<string>;
$http.get('asdfsadf').then((resp) => foo()).then((bla) => bla.data).then((num) => num);
```
2014-01-15 16:25:09 +11:00
jraymakers
f2afd8de95 angular: split ITranscludeFunction out of ITemplateLinkingFunction 2014-01-10 12:44:41 -08:00
jraymakers
90cf96b451 update optionality of arguments to ITemplateLinkingFunction 2014-01-09 16:01:48 -08:00
jraymakers
9ea31ba6c7 Merge remote-tracking branch 'upstream/master' 2014-01-08 09:49:17 -08:00
Semigradsky
1edf9b0d12 Restored part of file 2014-01-08 11:03:16 +03:00
jraymakers
6b7922e7e8 Merge remote-tracking branch 'upstream/master' 2014-01-07 22:32:27 -08:00
jraymakers
75357ab810 add missing semicolon in ICloneAttachFunction 2014-01-07 22:22:33 -08:00
jraymakers
ad7b08921b remove unnecessary comment in ITemplateLinkingFunction 2014-01-07 21:08:18 -08:00
jraymakers
3a82c7c52c add ? to scope in ITemplateLinkingFunction 2014-01-07 18:24:52 -08:00
Basarat Ali Syed
fb975ef47c update angular version in comment 2014-01-08 12:57:44 +11:00
jraymakers
aea6e0dab3 support optional scope on ITemplateLinkingFunction 2014-01-07 15:59:44 -08:00
Brian Surowiec
ad4009b296 angularjs: Add $parseProvider 2014-01-02 00:47:37 -05:00
Jonathan Park
72cc261506 adding invoke inline annotated functions 2013-12-16 17:39:28 -08:00
Jonathan Park
41a7127404 updating angular resource and injector definitions 2013-12-16 17:17:39 -08:00
Michel Salib
21a7c41386 IProviderService::factory supports also inline annotated functions 2013-11-28 12:57:34 +01:00
Michel Salib
038f6bcb64 IServiceProvider::$get can be array or function 2013-11-27 22:27:42 +01:00
Michel Salib
a59d261c8d Angular IServiceProvider::$get is injected
Actually the $get function is called via invoke.
2013-11-27 15:06:38 +01:00
Basarat Ali Syed
20655ae164 to kickoff nuget build 2013-11-20 11:42:55 +11:00
Ben Turner
62c4df6fcd Fix typo in comments
defile => define
2013-11-20 10:01:52 +11:00
Basarat Ali Syed
2dbd46d87f angular : $http timeout can be number or promise
reference : https://github.com/angular/angular.js/issues/1159#issuecomment-19043323
2013-11-18 15:17:53 +11:00
basarat
b6d875402f Catch and finally 2013-11-13 19:46:46 +11:00
basarat
ba8c8ffdf7 No unwrapping for notify callback (ofcourse) 2013-11-13 19:37:34 +11:00
basarat
12b39a17a0 For #1258 2013-11-13 17:39:09 +11:00
RupertAvery
16f8fd18dd SCE Services and Providers 2013-11-10 19:47:22 +08:00
RupertAvery
e3d4e2fd68 change bool to boolean 2013-11-10 17:13:43 +08:00