Commit Graph

23 Commits

Author SHA1 Message Date
Paul Spears
6612806e0a Added missing types, updated tests
This is a fix for issue #5652
https://github.com/borisyankov/DefinitelyTyped/issues/5652
2015-09-02 16:01:05 -05:00
Dan Lewi Harkestad
4af10f4fae Added tests covering all modifications. 2015-08-18 20:09:11 +02:00
Dan Lewi Harkestad
92ba5354f9 Added missing listen function in angular-ui-router
UrlRouter service has a function listen() that is undocumented in
reference, but is mentioned in other parts of the documentation.
2015-08-04 15:05:31 +02:00
Dan Lewi Harkestad
008b03a4b6 Missed ability to define url matcher types in angular-ui-router.
Added type definitions for defining url matcher types.
Docs:
http://angular-ui.github.io/ui-router/site/#/api/ui.router.util.type:Type
http://angular-ui.github.io/ui-router/site/#/api/ui.router.util.$urlMatcherFactory
2015-08-04 14:59:51 +02:00
Dan Lewi Harkestad
c1b2c0c40d Missing deferIntercept in angular-ui-router.
Added definition for IUrlRouterProvider.deferIntercept in angular-ui-router.
Docs: http://angular-ui.github.io/ui-router/site/#/api/ui.router.router.$urlRouterProvider
2015-08-04 14:05:40 +02:00
Masahiro Wakame
1edc231f34 Merge pull request #5165 from wiredprogrammer/patch-1
Added support for AMD require to angular-ui-router.d.ts
2015-08-03 23:09:32 +09:00
Masahiro Wakame
681e11c793 Merge pull request #5147 from chrismbarr/patch-7
UI-Router: The templateUrl accepts one parameter
2015-08-03 22:00:23 +09:00
Nick Carson
4e84ce35a0 Add support for AMD require.
Add support for AMD require.
2015-07-31 13:35:35 -04:00
Chris Barr
fb1410b421 Oh right, I've gotta name the param and assign it a type! 2015-07-30 13:54:38 -04:00
Chris Barr
6e43da89b9 Trying to fix CI build - maybe the ? is throwing it off? 2015-07-30 13:49:48 -04:00
Chris Barr
90551f00c5 Updating tests 2015-07-30 13:44:45 -04:00
Chris Barr
691392cfca Spelling fixes 2015-07-30 13:38:12 -04:00
Chris Barr
e37796c642 templateUrl accepts one parameter
docs: https://github.com/angular-ui/ui-router/wiki#templates
2015-07-30 13:34:47 -04:00
Matt DeKrey
b00355b727 Update name to match other definitions in library 2015-07-28 18:35:57 -04:00
Matt DeKrey
4f162bfd4b Add access to $state.$current.locals.globals 2015-07-27 16:08:33 -04:00
chr22
22ac5f1c78 Added three missing methods to $urlMatcherFactory 2015-07-15 11:37:52 +02:00
Andrew Done
480a633471 Use correct templateProvider and url definitions in angular.ui.IState.
- See https://github.com/angular-ui/ui-router/wiki/URL-Routing#urlmatcherfactory-and-urlmatchers for a use of url that is non-string.
- templateProvider needs to accept an Array<any> to allow it to participate in by-name DI within Angular.
2015-07-06 15:55:19 +01:00
Sam Herrmann
5a7baf8191 Add missing "parent" property to angular-ui-router state configuration object
As documented here: http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$stateProvider
2015-06-03 22:13:07 -04:00
chr22
06be629c1f Update namespace from ng -> angular 2015-05-08 16:02:02 +02:00
Martin McWhorter
19e42b53f0 Allow annotated DI functions
onEnter and onExit allow for annotated functions for DI. Example:

onEnter: ['$http', ($http) => { $http.get(...) } ]
2015-04-17 15:36:59 +01:00
Viktor Zozulyak
f967041370 Update angular-ui-router.d.ts
This fixes references to interfaces defined in [angular.d.ts](https://github.com/borisyankov/DefinitelyTyped/blob/master/angularjs/angular.d.ts)
2015-04-07 00:09:28 +03:00
John Reilly
4e553f5ea3 Some JSDoc for good measure 2015-03-19 16:07:15 +00:00
John Reilly
197dfc26d4 Split out angular-ui-router and angular-ui-sortable 2015-03-19 15:00:10 +00:00