@@ -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
@@ -115,19 +102,19 @@ declare module ng.ui {
115
102
}
116
103
117
104
interface IUrlRouterService {
118
- /*
119
- * Triggers an update; the same update that happens when the address bar
120
- * url changes, aka $locationChangeSuccess.
121
- *
122
- * This method is useful when you need to use preventDefault() on the
123
- * $locationChangeSuccess event, perform some custom logic (route protection,
124
- * auth, config, redirection, etc) and then finally proceed with the transition
125
- * by calling $urlRouter.sync().
126
- *
127
- */
105
+ /*
106
+ * Triggers an update; the same update that happens when the address bar
107
+ * url changes, aka $locationChangeSuccess.
108
+ *
109
+ * This method is useful when you need to use preventDefault() on the
110
+ * $locationChangeSuccess event, perform some custom logic (route protection,
111
+ * auth, config, redirection, etc) and then finally proceed with the transition
112
+ * by calling $urlRouter.sync().
113
+ *
114
+ */
128
115
sync ( ) : void ;
129
116
}
130
-
117
+
131
118
interface IUiViewScrollProvider {
132
119
/*
133
120
* Reverts back to using the core $anchorScroll service for scrolling
0 commit comments