Commit Graph

350 Commits

Author SHA1 Message Date
Darryl Pogue
5dcc9e2047 Add angular.merge function
This is new API in Angular 1.4: https://docs.angularjs.org/api/ng/function/angular.merge
2015-06-02 13:22:40 -07:00
Masahiro Wakame
7d790b1862 Merge pull request #4501 from dimasty/master
Add Decorator definition to IModule
2015-05-31 10:14:03 -07:00
Masahiro Wakame
9b4daa3c01 Merge pull request #4483 from furny/upstream-angular-bindtocontroller
AngularJS 1.4 - `bindToController` object definition.
2015-05-31 10:03:17 -07:00
Dmitry V. Abuzyarov
3e6f6339a5 Add Decorator definition to IModule 2015-05-31 15:02:01 +03:00
John Reilly
2d4c4679bc Merge pull request #4488 from johnnyreilly/master
Update angular.d.ts - JSDoc-ed $filter
2015-05-29 13:26:56 +01:00
John Reilly
dfc0893316 Update angular.d.ts - JSDoc-ed $filter 2015-05-29 13:24:40 +01:00
André König
58d0e244a7 union type for bindToController 2015-05-29 10:06:25 +02:00
André König
5294692073 AngularJS 1.4 - bindToController object definition
This commit supports using `bindToController` as an object (see: https://github.com/angular/angular.js/blob/master/CHANGELOG.md#features-9).
2015-05-29 09:59:37 +02:00
Masahiro Wakame
c2b70ba731 Merge pull request #4430 from cherrydev/patch-1
Add strictDi() to angular.mocks.inject
2015-05-25 02:26:24 +09:00
cherrydev
da4009486d Update angular-mocks.d.ts 2015-05-24 10:21:22 -07:00
cherrydev
d930a8fc40 Add strictDi() to angular.mocks.inject 2015-05-22 17:26:33 -07:00
Emiliano Marino
2aac6c6f50 added $setDirty method to INgModelController (added in v1.3.15+)
For Angular version 1.3.15+ INgModelController brings $setDirty method.
2015-05-21 10:47:22 -03:00
John Reilly
5e2826c8a5 Update angular.d.ts - JSDoc-ed the $cacheFactory 2015-05-20 10:39:52 +01:00
John Reilly
fefe9f1de6 angular.d.ts - added JSDoc for $broadcast and $emit 2015-05-15 09:30:41 +01:00
chr22
c6f469b360 Update namespace from ng -> angular 2015-05-08 15:47:09 +02:00
aciccarello
7576bf3119 Update to Angular 1.4 2015-04-27 17:00:04 -04:00
Masahiro Wakame
e7ef7d3204 Merge pull request #4116 from xi/fix-angular-headers
Fix IHttpPromiseCallbackArg.headers type
2015-04-15 23:58:38 +09:00
Tobias Bengfort
b01692175b Fix IHttpPromiseCallbackArg.headers type 2015-04-15 11:44:24 +02:00
Henrik Huttunen
2fc34672e8 reference angular module using prefix "angular", not "ng" 2015-04-15 11:05:40 +03:00
Henrik Huttunen
bba7d848ef reference angular module using prefix "angular", not "ng" 2015-04-15 10:40:21 +03:00
Matt Podsiadlo
dc17c1cf2f Added a definition for IBrowserService.defer 2015-04-13 10:52:41 +02:00
Basarat Ali Syed
02a93db66a Merge pull request #3987 from rafw87/angularjs
Update angular.d.ts - Fix for $q.all() method
2015-03-31 09:48:17 +11:00
Ricardo Franco
cfb41c331e fix missing module 'ng' 2015-03-30 18:17:40 -03:00
rafw87
7c0ed32587 Update angular.d.ts
$q.all() - separate overloads for array and hash version
2015-03-29 00:48:59 +01:00
Chris Barr
d2d2a6586b Adding params for Angular JS animation options
According to [The ngAnimate Documentation](https://docs.angularjs.org/api/ngAnimate/#applying-directive-specific-styles-to-an-animation it), it's possible to optionally specify animation `to` and `from` prameters in an object that can optionally be passed in to `animate` `enter` `leave` `addClass` `removeClass` and `setClass`
2015-03-23 12:30:51 -04:00
vvakame
96b97cf462 add html5mode definitions on ILocationProvider 2015-03-21 01:24:23 +09:00
vvakame
32194eaa6f add commonjs module declarations to angular 2015-03-17 22:24:15 +09:00
Basarat Ali Syed
f76832c80d Create angular-amd-tests.ts 2015-03-12 14:35:30 +11:00
Basarat Ali Syed
eb66c47bd2 Update angular-resource.d.ts 2015-03-12 11:49:21 +11:00
Basarat Ali Syed
8b10d4fbb0 Update angular-mocks.d.ts 2015-03-12 11:43:05 +11:00
Basarat Ali Syed
b7b20944a6 Update angular-cookies.d.ts 2015-03-12 11:41:54 +11:00
Basarat Ali Syed
91987d84ad Update angular-resource.d.ts 2015-03-12 11:41:36 +11:00
Basarat Ali Syed
92ee9817d0 Update angular-sanitize.d.ts 2015-03-12 11:41:19 +11:00
Basarat Ali Syed
1571e6b394 Update angular-animate.d.ts 2015-03-12 11:40:58 +11:00
Basarat Ali Syed
71a138ec5e Update angular-route.d.ts 2015-03-12 11:40:36 +11:00
Basarat Ali Syed
adf8ebbcce angular: another attempt for 1.4 2015-03-12 11:16:23 +11:00
Basarat Ali Syed
779fcd5d77 angular: deprecate ng 2015-03-12 11:10:14 +11:00
Basarat Ali Syed
d13c42ba67 angular: import should bring in the type information as well
closes https://github.com/borisyankov/DefinitelyTyped/issues/3670
closes https://github.com/borisyankov/DefinitelyTyped/pull/3714
2015-03-12 10:47:32 +11:00
André Werlang
13d8727de0 Define patch() on $http 2015-03-11 08:43:49 -03:00
Raphael Schweizer
a6625f5962 add angular $animate.animate declaration 2015-03-06 13:07:51 +01:00
Masahiro Wakame
bb20f0a1f7 Merge pull request #3799 from henkosch/master
Fixed link definition on IDirective with union type
2015-03-05 23:14:05 +09:00
Schnell Henrik
235f7734ec Fixed link definition on IDirective with union type IDirectiveLinkFn | IDirectivePrePost. 2015-03-05 11:22:09 +01:00
Nathan Brown
d779349a3e Update angular.d.ts to fix IHttpPromise.
IHttpPromise<T> does not extend IPromise<T> directly.  It always transforms it with the response (of type T) as the `data` member.  See $httpProvider.$http.sendRec.resolvePromise(response, status, headers, statusText).  This matters when exploiting the inheritance to IPromise (for example in a return).
2015-03-03 15:50:12 -07:00
jayoungers
561b5a075e ICacheObject.put and IAnimateService.addClass Return Types
Updating ICacheObject.put return type to the type of object passed in (opposed to just void):
https://docs.angularjs.org/api/ng/type/$cacheFactory.Cache

Updating IAnimateService.addClass to return the type IPromise<any> (opposed to just void):
https://docs.angularjs.org/api/ngAnimate/service/$animate
2015-02-25 13:54:14 -06:00
Jukka Hyvärinen
8c30472a68 indentation 2015-02-10 14:06:32 +02:00
Jukka Hyvärinen
01d3cc0458 Added IRepeatScope 2015-02-10 12:52:51 +02:00
John Reilly
ffdb69f0e1 Remove overloads using Union Types 2015-01-19 16:07:20 +00:00
johnnyreilly
30ce45e0e7 AngularJS: IRoute has been union typed 2015-01-17 22:09:34 +00:00
johnnyreilly
9fc7f5794c Let the union types go forth and multiply 2015-01-17 08:04:09 +00:00
Stanley Goldman
b1f314ebbc Adding withCredentials to IHttpProviderDefaults 2014-12-24 12:48:29 -05:00