Commit Graph

41 Commits

Author SHA1 Message Date
Abhishek Garg
41f31600a1 Rectify type for IState.template (#9354)
Add `params: IStateParamsService` for IState.template function
2016-05-21 08:14:13 -07:00
Paul Brohman
70d5dcff6f Updating the IStateOptions.reload to allow string or IState (#9298)
`reload` allows for a string based state or a state object

```
reload (v0.2.5) - {boolean=false|string|object}, If true will force transition even if no state or params have changed. It will reload the resolves and views of the current state and parent states. If reload is a string (or state object), the state object is fetched (by name, or object reference); and \ the transition reloads the resolves and views for that matched state, and all its children states.
```
2016-05-15 01:29:31 +09:00
mmmichl
bf263437d0 Introduce unfoundState type from $stateNotFound event (#8894) 2016-04-12 22:47:57 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Nils Engelbach
655f8c1bf3 Added Missing includes function overload
The includes function call with an options object was not defined.
See: http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$state
2016-01-12 17:11:18 +01:00
Ben Loveridge
d5e1c4b1f5 Support more variations of IStateService.get 2016-01-07 14:10:36 -07:00
Masahiro Wakame
a606eab397 Merge pull request #7300 from Burgov/urlroutermethods
add some methods defined on the UrlRouter service
2015-12-23 18:12:32 +09:00
Bart van den Burg
75ae49e85b add some methods defined on the UrlRouter service
See https://github.com/angular-ui/ui-router/blob/a7d25c6/src/urlRouter.js#L308
2015-12-22 15:39:38 +01:00
Michael Tiller
60caa355e5 Including types from angular-ui-router
This change to the module definition allows both classic CommonJS imports
as well as new ES6 style imports, e.g. import { IState } from 'angular-ui-router';
2015-12-03 08:29:49 -05:00
Evan Drewry
e6f49a3af3 fix broken angular namespace references
ng->angular
2015-10-28 15:54:40 -04:00
Masahiro Wakame
96d1232856 Merge pull request #6281 from Kopleman/patch-1
Adding missed cache to IState
2015-10-17 00:31:43 +09:00
Mark Bouwman
720460e0e6 transitionTo() and reload() should return promises
http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$state
2015-10-16 11:51:23 +02:00
Kopleman
d5e0dcb4c7 Updating angilar-ui-router.d.ts.
Adding missed cache?:boolean to IState interaface
2015-10-14 09:45:23 +03:00
vvakame
a694252d47 Merge branch 'angular-ui-router' of https://github.com/pocesar/DefinitelyTyped into pocesar-angular-ui-router 2015-10-05 22:40:20 +09:00
Matt DeKrey
557a792eaf Add ui-router transition promise 2015-09-23 20:41:19 -05:00
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
Paulo Cesar
e8c8cfa1d4 allow strictDi controller 2015-08-07 00:41:30 -03: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