@@ -15,29 +15,16 @@ declare module ng.ui {
15
15
controllerProvider ?: any ;
16
16
resolve ?: { } ;
17
17
url ?: string ;
18
- params ?: any [ ] ;
18
+ params ?: any ;
19
19
views ?: { } ;
20
20
abstract ?: boolean ;
21
21
onEnter ?: ( ...args : any [ ] ) => void ;
22
22
onExit ?: ( ...args : any [ ] ) => void ;
23
23
data ?: any ;
24
+ reloadOnSearch ?: boolean ;
24
25
}
25
-
26
- interface ITypedState < T > {
27
- name ?: string ;
28
- template ?: string ;
29
- templateUrl ?: string ;
30
- templateProvider ?: ( ) => string ;
31
- controller ?: any ;
32
- controllerAs ?: string ;
33
- controllerProvider ?: any ;
34
- resolve ?: { } ;
35
- url ?: string ;
36
- params ?: any [ ] ;
37
- views ?: { } ;
38
- abstract ?: boolean ;
39
- onEnter ?: ( ...args : any [ ] ) => void ;
40
- onExit ?: ( ...args : any [ ] ) => void ;
26
+
27
+ interface ITypedState < T > extends IState {
41
28
data ?: T ;
42
29
}
43
30
@@ -116,19 +103,19 @@ declare module ng.ui {
116
103
}
117
104
118
105
interface IUrlRouterService {
119
- /*
120
- * Triggers an update; the same update that happens when the address bar
121
- * url changes, aka $locationChangeSuccess.
122
- *
123
- * This method is useful when you need to use preventDefault() on the
124
- * $locationChangeSuccess event, perform some custom logic (route protection,
125
- * auth, config, redirection, etc) and then finally proceed with the transition
126
- * by calling $urlRouter.sync().
127
- *
128
- */
106
+ /*
107
+ * Triggers an update; the same update that happens when the address bar
108
+ * url changes, aka $locationChangeSuccess.
109
+ *
110
+ * This method is useful when you need to use preventDefault() on the
111
+ * $locationChangeSuccess event, perform some custom logic (route protection,
112
+ * auth, config, redirection, etc) and then finally proceed with the transition
113
+ * by calling $urlRouter.sync().
114
+ *
115
+ */
129
116
sync ( ) : void ;
130
117
}
131
-
118
+
132
119
interface IUiViewScrollProvider {
133
120
/*
134
121
* Reverts back to using the core $anchorScroll service for scrolling
0 commit comments