Commit Graph

25 Commits

Author SHA1 Message Date
cmc19
7d4e4d5047 Update angular-ui-router.d.ts
added missing property see https://github.com/angular-ui/ui-router/blob/master/src/state.js#L472
2014-09-07 19:54:42 -04:00
Kevin Weeks
f800265294 Reduced type severity of templateProvider in IState interface
templateProvider can be an annotated function (any[]) like controllerProvider, so any is a more appropriate typing.
2014-08-18 14:39:59 -07:00
vvakame
455f9dce68 update angular-ui-router.d.ts 2014-08-12 17:15:17 +09:00
Matt York
edb66b0c70 ui-router fix
move parameters() and format() from IUrlMatcherFactory to IUrlMatcher.

Also adds tests for IUrlMatcher
2014-06-20 18:38:53 -07:00
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
Panu Horsmalahti
14e95050b5 Add .reload() definition. Add test for it and other tests for the ng.ui.IStateService 2014-06-05 18:43:48 +03:00
John Jeffery
c861fdc95c Add missing newline at EOF. 2014-05-21 14:31:44 +10:00
John Jeffery
00947856ab Include type definition for $uiViewScrollProvider
See http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$uiViewScrollProvider
2014-05-21 14:29:07 +10:00
John Jeffery
b92a26e5d3 Add test for IUrlRouterService 2014-05-21 10:08:53 +10:00
John Jeffery
2d444c9c93 Add jsdoc for IUrlRouterService. 2014-05-21 10:08:37 +10:00
John Jeffery
3ffc175119 Rename IUrlRouter to IUrlRouterService
More consistent with naming conventions for other services.
2014-05-21 10:08:03 +10:00
John Jeffery
7929e622e6 #2211: Add IUrlRouter interface for 2014-05-19 10:07:47 +10:00
Basarat Ali Syed
fc9a965f8b Merge pull request #1981 from docmunch/ui-router-state-sig
name parameter is optional
2014-04-05 21:05:29 +11:00
ofirgeller
c663be4f3c go() returns a promise.
from the wiki:

Returns
{promise} – A promise representing the state of the new transition. Possible success values:
$state.current
2014-04-05 11:32:32 +03:00
Greg Weber
a15b7d3a03 name parameter is optional 2014-04-03 15:39:07 -07:00
Santi Albo
273728dedb More tests for angular-ui-router 2014-01-28 15:40:39 +00:00
Santi Albo
f5ad5d5d01 Fix tests 2014-01-28 15:39:52 +00:00
Santi Albo
8867eb90b8 Add tests 2014-01-28 14:53:09 +00:00
Santi Albo
adcb4a09b3 Explode all combinations 2014-01-28 14:20:21 +00:00
Santi Albo
8bbf4084f0 (angular-ui-router) Set toPath argument to any
The `toPath` argument on `IUrlRouterProvider.when` can also be a function that returns a string and an injected function (i.e. any[]).
2014-01-28 11:34:13 +00:00
Igor Oleinikov
6b4ed37ddb angular-ui: fixed router tests 2013-12-22 14:55:09 +04:00
Michel Salib
751cdfb539 [Angular-ui-router] onExit/onEnter can be inline injected functions 2013-12-11 10:48:53 +01:00
Michel Salib
dcc0906c4a StateService also exposes current params 2013-12-09 12:16:37 +01:00
Michel Salib
3454ad17a9 Angular UI states have a name attribute
This is not documenting, but a name attribute is exposed, and is very useful.
2013-12-09 12:06:58 +01:00
Michel Salib
3657670756 Add Angular UI Router definitions
- Move angular-ui definitions to its own folder
- Add self to readme
- Add some tests for angular-ui-router
2013-12-07 16:57:11 +01:00