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
RupertAvery
417b93032f
added Strict Contextual Escaping services and providers
2013-11-10 17:11:26 +08:00
hastebrot
6e39fe3652
Add; IntervalService to angular.d.ts
2013-11-04 13:28:40 +01:00
Ashwin Ramaswamy
4157d2bf00
type directive factory with Function type
...
- the existing type fails with the stricter 0.9.5 compiler
2013-11-01 14:56:56 -04:00
Georgios Diamantopoulos
793b8296f2
Added args param to scope.$eval
2013-10-31 15:59:20 +02:00
Georgios Diamantopoulos
15f9750043
Fixes in latest NG pkg
...
`IAttributes` definition made it impossible to use scoped attributes - see my comments
`scope.$eval` was missing locals argument
`IDirective.controller` made it impossible to use minify-safe array notation, had to switch back to `any`
`IDirective.require` can be both `string` or `string[]` so changed back to `any`.
This will all be so much better once we get union support in TS...
2013-10-29 12:09:34 +02:00
Kenneth Kolstad
1bf0e657ee
Add $addControl and $removeControl to IFormController
2013-10-25 02:39:36 -04:00
Jared Reynolds
9ba67fffd6
Updated angular IDirective for 1.2.0
...
Conflicts:
angularjs/angular.d.ts
2013-10-23 14:55:47 -07:00
Jacob Boland
027c81a0b0
Add IAttributes members and comments
2013-10-23 14:55:46 -07:00
Jonathan Park
683e94d8d8
Adding angular 1.2 definitions
...
Conflicts:
angularjs/angular-mocks.d.ts
2013-10-23 14:55:46 -07:00
Georgios Diamantopoulos
1ea3ae922f
NG directives: fixes
...
Allow functions to be defined for template/templateUrl and array notation in controller
There's not a more elegant solution that I know of until we get structs in TS anyway.
2013-10-21 12:35:44 +03:00
Santi Albo
8c58256dc7
Set viewValue to any everywhere
...
Documentation states `viewValue` and `modelValue` to be a string but other types do work and it's common to use them.
2013-10-17 14:36:13 +01:00
basarat
2a1a03c61f
Controller is a valid directive member
2013-10-01 22:27:10 +10:00
basarat
a27594622d
angular useful private members of scope
2013-09-28 13:56:26 +10:00
Boris Yankov
c2df10e5f1
Merge pull request #1083 from apuchkov/master
...
Override find functions in IAugmentedJQuery interface
2013-09-25 18:21:46 -07:00
Alex Puchkov
e381ed37dd
Override find functions in IAugmentedJQuery interface
...
Calling IAugmentedJQuery.find() returns variable of IAugmentedJQuery
type, instead of JQuery.
2013-09-25 17:02:06 -04:00
Santi Albo
2be34a6ce6
Typo in Angular.js type definition (controler -> controller)
2013-09-25 11:46:33 +01:00
Gregory Petrosyan
5266bc625f
Add $watchCollection(obj, listener) API to angular.d.ts
...
https://github.com/angular/angular.js/blob/master/src/ng/rootScope.js#L362
Signed-off-by: Gregory Petrosyan <gregory.petrosyan@gmail.com>
2013-09-18 14:40:59 +04:00