@angular-wave/angular.ts 0.7.0-beta.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1095) hide show
  1. package/.github/workflows/ci.yml +58 -14
  2. package/.github/workflows/gh-pages.yml +75 -0
  3. package/.husky/pre-commit +2 -0
  4. package/@types/animations/animate-children-directive.d.ts +4 -2
  5. package/@types/animations/animate-swap.d.ts +2 -2
  6. package/@types/animations/animate.d.ts +12 -5
  7. package/@types/animations/interface.d.ts +17 -0
  8. package/@types/animations/raf-scheduler.d.ts +29 -16
  9. package/@types/core/compile/attributes.d.ts +6 -3
  10. package/@types/core/compile/compile.d.ts +26 -19
  11. package/@types/core/controller/controller.d.ts +1 -1
  12. package/@types/core/di/injector.d.ts +1 -2
  13. package/@types/core/di/internal-injector.d.ts +15 -8
  14. package/@types/core/di/ng-module.d.ts +3 -4
  15. package/@types/core/error-handler.d.ts +7 -0
  16. package/@types/core/exception-handler.d.ts +5 -10
  17. package/@types/core/filter/filter.d.ts +20 -4
  18. package/@types/core/interpolate/interpolate.d.ts +3 -3
  19. package/@types/core/location/location.d.ts +1 -1
  20. package/@types/core/parse/interface.d.ts +79 -0
  21. package/@types/core/parse/interpreter.d.ts +19 -8
  22. package/@types/core/parse/parse.d.ts +2 -94
  23. package/@types/core/parse/parser/parser.d.ts +2 -2
  24. package/@types/core/pubsub/pubsub.d.ts +21 -0
  25. package/@types/core/sanitize/interface.d.ts +10 -0
  26. package/@types/core/sanitize/sanitize-uri.d.ts +31 -44
  27. package/@types/core/sce/sce.d.ts +107 -33
  28. package/@types/core/scope/scope.d.ts +26 -39
  29. package/@types/core/task-tracker-factory.d.ts +10 -5
  30. package/@types/directive/aria/aria.d.ts +4 -1
  31. package/@types/directive/bind/bind.d.ts +6 -6
  32. package/@types/directive/channel/channel.d.ts +2 -2
  33. package/@types/directive/class/class.d.ts +3 -3
  34. package/@types/directive/cloak/cloak.d.ts +2 -2
  35. package/@types/directive/controller/controller.d.ts +2 -2
  36. package/@types/directive/events/events.d.ts +4 -4
  37. package/@types/directive/form/form.d.ts +1 -1
  38. package/@types/directive/if/if.d.ts +2 -2
  39. package/@types/directive/include/include.d.ts +6 -20
  40. package/@types/directive/init/init.d.ts +2 -2
  41. package/@types/directive/input/input.d.ts +4 -4
  42. package/@types/directive/model/model.d.ts +10 -10
  43. package/@types/directive/model-options/model-options.d.ts +1 -1
  44. package/@types/directive/non-bindable/non-bindable.d.ts +2 -2
  45. package/@types/directive/observe/observe.d.ts +2 -2
  46. package/@types/directive/options/options.d.ts +2 -2
  47. package/@types/directive/repeat/repeat.d.ts +2 -2
  48. package/@types/directive/script/script.d.ts +2 -2
  49. package/@types/directive/select/select.d.ts +2 -2
  50. package/@types/directive/setter/setter.d.ts +6 -3
  51. package/@types/directive/show-hide/show-hide.d.ts +4 -4
  52. package/@types/directive/style/style.d.ts +2 -2
  53. package/@types/directive/switch/switch.d.ts +6 -6
  54. package/@types/directive/transclude/transclude.d.ts +3 -1
  55. package/@types/directive/validators/validators.d.ts +14 -14
  56. package/@types/filters/filter.d.ts +2 -7
  57. package/@types/filters/filters.d.ts +2 -2
  58. package/@types/filters/limit-to.d.ts +2 -6
  59. package/@types/filters/order-by.d.ts +4 -3
  60. package/@types/injection-tokens.d.ts +20 -0
  61. package/@types/interface.d.ts +302 -0
  62. package/@types/loader.d.ts +16 -18
  63. package/@types/public.d.ts +7 -8
  64. package/@types/router/common/glob.d.ts +25 -8
  65. package/@types/router/common/queue.d.ts +62 -13
  66. package/@types/router/common/trace.d.ts +8 -14
  67. package/@types/router/directives/state-directives.d.ts +11 -10
  68. package/@types/router/directives/view-directive.d.ts +3 -5
  69. package/@types/router/globals.d.ts +25 -7
  70. package/@types/router/params/interface.d.ts +606 -0
  71. package/@types/router/params/param.d.ts +1 -1
  72. package/@types/router/resolve/interface.d.ts +200 -0
  73. package/@types/router/state/interface.d.ts +983 -0
  74. package/@types/router/state/state-builder.d.ts +9 -2
  75. package/@types/router/state/state-object.d.ts +13 -3
  76. package/@types/router/state/state-registry.d.ts +18 -4
  77. package/@types/router/state/state-service.d.ts +18 -10
  78. package/@types/router/state/views.d.ts +14 -8
  79. package/@types/router/state-filters.d.ts +8 -4
  80. package/@types/router/template-factory.d.ts +4 -4
  81. package/@types/router/transition/interface.d.ts +876 -11
  82. package/@types/router/transition/transition-service.d.ts +4 -3
  83. package/@types/router/transition/transition.d.ts +25 -15
  84. package/@types/router/view/interface.d.ts +44 -0
  85. package/@types/router/view/view.d.ts +17 -5
  86. package/@types/services/anchor-scroll.d.ts +0 -1
  87. package/@types/shared/interface.d.ts +6 -0
  88. package/@types/shared/utils.d.ts +19 -44
  89. package/CHANGELOG.md +38 -38
  90. package/CODE_OF_CONDUCT.md +1 -1
  91. package/CONTRIBUTING.md +9 -9
  92. package/DEVELOPERS.md +30 -30
  93. package/Makefile +1 -1
  94. package/README.md +24 -26
  95. package/RELEASE.md +3 -3
  96. package/TRIAGING.md +3 -3
  97. package/dist/angular-ts.esm.js +4218 -3743
  98. package/dist/angular-ts.umd.js +4223 -3748
  99. package/dist/angular-ts.umd.min.js +1 -1
  100. package/docs/.cspell.yml +2 -2
  101. package/docs/.github/dependabot.yml +12 -12
  102. package/docs/README.md +10 -7
  103. package/docs/assets/icons/logo.svg +1 -0
  104. package/docs/assets/scss/_variables_project.scss +1 -0
  105. package/docs/content/en/_index.md +5 -64
  106. package/docs/content/en/docs/_index.md +3 -4
  107. package/docs/docker-compose.yaml +1 -0
  108. package/docs/go.mod +1 -1
  109. package/docs/go.sum +6 -6
  110. package/docs/hugo-disabled.toml +6 -7
  111. package/docs/hugo.yaml +45 -64
  112. package/docs/layouts/404.html +2 -8
  113. package/docs/layouts/_markup/render-heading.html +1 -0
  114. package/docs/package-lock.json +2293 -0
  115. package/docs/package.json +18 -7
  116. package/index.html +3 -12
  117. package/package.json +3 -3
  118. package/src/angular.spec.js +1 -99
  119. package/src/animations/animate-children-directive.js +4 -3
  120. package/src/animations/animate-css.js +2 -2
  121. package/src/animations/animate-css.md +1 -1
  122. package/src/animations/animate-queue.js +1 -1
  123. package/src/animations/animate-runner.js +3 -3
  124. package/src/animations/animate-swap.js +2 -2
  125. package/src/animations/animate.js +4 -2
  126. package/src/animations/animate.md +8 -8
  127. package/src/animations/animation.js +1 -0
  128. package/src/animations/interface.ts +19 -0
  129. package/src/animations/raf-scheduler.js +70 -54
  130. package/src/animations/raf-scheduler.spec.js +6 -0
  131. package/src/animations/shared.js +1 -1
  132. package/src/core/compile/attributes.js +17 -16
  133. package/src/core/compile/compile.js +2742 -2631
  134. package/src/core/compile/compile.md +13 -13
  135. package/src/core/compile/compile.spec.js +376 -479
  136. package/src/core/controller/controller.js +1 -1
  137. package/src/core/controller/controller.spec.js +27 -20
  138. package/src/core/di/injector.js +36 -11
  139. package/src/core/di/injector.md +6 -6
  140. package/src/core/di/internal-injector.js +21 -21
  141. package/src/core/di/ng-module.js +23 -10
  142. package/src/core/di/ng-module.spec.js +16 -16
  143. package/src/core/error-handler.ts +7 -0
  144. package/src/core/exception-handler.js +4 -9
  145. package/src/core/filter/filter.js +12 -4
  146. package/src/core/filter/filter.md +5 -5
  147. package/src/core/interpolate/interpolate.js +6 -6
  148. package/src/core/interpolate/interpolate.spec.js +1 -1
  149. package/src/core/location/location.js +3 -3
  150. package/src/core/parse/ast/ast.js +2 -2
  151. package/src/core/parse/ast/ast.spec.js +1 -9
  152. package/src/core/parse/interface.ts +84 -0
  153. package/src/core/parse/interpreter.js +33 -28
  154. package/src/core/parse/parse.js +14 -61
  155. package/src/core/parse/parse.md +6 -6
  156. package/src/core/parse/parser/parser.js +1 -1
  157. package/src/core/pubsub/pubsub.js +20 -0
  158. package/src/core/pubsub/pubsub.spec.js +14 -1
  159. package/src/core/sanitize/interface.ts +10 -0
  160. package/src/core/sanitize/sanitize-uri.js +47 -56
  161. package/src/core/sanitize/sanitize-uri.spec.js +1 -1
  162. package/src/core/sce/sce.js +376 -307
  163. package/src/core/sce/sce.md +13 -13
  164. package/src/core/scope/scope.js +121 -122
  165. package/src/core/scope/scope.spec.js +11 -11
  166. package/src/core/task-tracker-factory.js +7 -0
  167. package/src/directive/aria/aria.js +20 -21
  168. package/src/directive/attrs/attrs.js +2 -1
  169. package/src/directive/attrs/attrs.md +7 -7
  170. package/src/directive/bind/bind.js +7 -8
  171. package/src/directive/bind/bind.md +3 -3
  172. package/src/directive/channel/channel.js +1 -2
  173. package/src/directive/class/class.js +1 -2
  174. package/src/directive/cloak/cloak.js +1 -2
  175. package/src/directive/cloak/cloak.md +1 -1
  176. package/src/directive/controller/controller.js +1 -1
  177. package/src/directive/controller/controller.md +2 -2
  178. package/src/directive/events/events.js +3 -3
  179. package/src/directive/events/events.md +2 -2
  180. package/src/directive/form/form.js +5 -5
  181. package/src/directive/if/if.js +1 -1
  182. package/src/directive/include/include.js +23 -12
  183. package/src/directive/include/include.md +2 -2
  184. package/src/directive/include/include.spec.js +1 -0
  185. package/src/directive/init/init.js +1 -1
  186. package/src/directive/input/input-example.html +15 -0
  187. package/src/directive/input/input.js +15 -9
  188. package/src/directive/input/input.md +54 -54
  189. package/src/directive/input/input.spec.js +12 -14
  190. package/src/directive/messages/messages.js +4 -4
  191. package/src/directive/messages/messages.md +2 -2
  192. package/src/directive/model/model.js +3 -3
  193. package/src/directive/model-options/model-options.js +3 -3
  194. package/src/directive/model-options/model-options.md +1 -1
  195. package/src/directive/non-bindable/non-bindable.js +1 -2
  196. package/src/directive/non-bindable/non-bindable.md +1 -1
  197. package/src/directive/observe/observe.js +1 -1
  198. package/src/directive/observe/test.html +1 -1
  199. package/src/directive/options/options-example.html +13 -0
  200. package/src/directive/options/options.js +36 -26
  201. package/src/directive/options/options.md +1 -1
  202. package/src/directive/options/options.spec.js +207 -146
  203. package/src/directive/ref/ref.js +9 -4
  204. package/src/directive/repeat/repeat.js +15 -15
  205. package/src/directive/repeat/repeat.md +3 -3
  206. package/src/directive/script/script.js +3 -3
  207. package/src/directive/select/select.js +2 -2
  208. package/src/directive/select/select.md +3 -3
  209. package/src/directive/select/select.spec.js +1 -1
  210. package/src/directive/setter/setter.js +9 -7
  211. package/src/directive/setter/setter.spec.js +5 -4
  212. package/src/directive/show-hide/show-hide.js +2 -2
  213. package/src/directive/show-hide/show-hide.md +4 -4
  214. package/src/directive/style/style.js +2 -2
  215. package/src/directive/style/style.spec.js +1 -1
  216. package/src/directive/switch/switch.js +7 -8
  217. package/src/directive/transclude/transclude.js +2 -3
  218. package/src/directive/validators/validators.js +41 -40
  219. package/src/examples/counter.html +20 -0
  220. package/src/filters/filter.js +1 -1
  221. package/src/filters/filters.js +1 -1
  222. package/src/filters/limit-to.js +1 -1
  223. package/src/filters/order-by.js +5 -1
  224. package/src/filters/order-by.md +1 -1
  225. package/src/filters/order-by.spec.js +4 -4
  226. package/src/index.spec.js +11 -0
  227. package/src/injection-tokens.js +71 -0
  228. package/src/interface.ts +329 -0
  229. package/src/loader.js +22 -19
  230. package/src/loader.md +7 -7
  231. package/src/public.js +13 -8
  232. package/src/public.spec.js +1 -0
  233. package/src/router/common/{glob.html → common.html} +1 -0
  234. package/src/router/common/{glob.test.js → common.test.js} +1 -1
  235. package/src/router/common/glob.js +29 -7
  236. package/src/router/common/glob.spec.js +31 -1
  237. package/src/router/common/queue.js +69 -14
  238. package/src/router/common/queue.spec.js +80 -0
  239. package/src/router/common/trace.js +21 -15
  240. package/src/router/directives/component-example.html +37 -0
  241. package/src/router/directives/state-directives.js +14 -13
  242. package/src/router/directives/state-directives.spec.js +49 -46
  243. package/src/router/directives/view-directive.js +7 -8
  244. package/src/router/directives/view-directive.spec.js +1 -1
  245. package/src/router/globals.js +24 -5
  246. package/src/router/hooks/update-globals.js +2 -0
  247. package/src/router/params/interface.ts +626 -0
  248. package/src/router/params/param-types.js +2 -2
  249. package/src/router/params/param.js +1 -1
  250. package/src/router/resolve/interface.ts +208 -0
  251. package/src/router/resolve/resolvable.js +2 -2
  252. package/src/router/state/interface.ts +1007 -0
  253. package/src/router/state/state-builder.js +6 -2
  254. package/src/router/state/state-builder.spec.js +21 -15
  255. package/src/router/state/state-object.js +19 -5
  256. package/src/router/state/state-queue-manager.js +3 -5
  257. package/src/router/state/state-registry.js +21 -9
  258. package/src/router/state/state-service.js +14 -8
  259. package/src/router/state/views.js +9 -4
  260. package/src/router/state-filters.js +6 -0
  261. package/src/router/template-factory.js +2 -2
  262. package/src/router/template-factory.spec.js +15 -9
  263. package/src/router/transition/interface.ts +922 -0
  264. package/src/router/transition/transition-service.js +2 -1
  265. package/src/router/transition/transition.js +17 -7
  266. package/src/router/url/url-matcher.js +2 -2
  267. package/src/router/view/interface.ts +51 -0
  268. package/src/router/view/view.js +17 -10
  269. package/src/router/view/view.spec.js +3 -3
  270. package/src/router/view-scroll.spec.js +3 -4
  271. package/src/services/anchor-scroll.html +1 -1
  272. package/src/services/anchor-scroll.js +0 -4
  273. package/src/services/http/http.md +8 -8
  274. package/src/services/log.md +1 -1
  275. package/src/services/template-request.js +12 -8
  276. package/src/shared/dom.js +2 -2
  277. package/src/shared/interface.ts +6 -0
  278. package/src/shared/noderef.js +1 -3
  279. package/src/shared/utils.js +21 -53
  280. package/src/src.html +2 -1
  281. package/tsconfig.json +2 -1
  282. package/tsconfig.types.json +1 -0
  283. package/typedoc/assets/hierarchy.js +1 -1
  284. package/typedoc/assets/navigation.js +1 -1
  285. package/typedoc/assets/search.js +1 -1
  286. package/typedoc/classes/animations_animate-cache.AnimateCacheProvider.html +4 -40
  287. package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +4 -58
  288. package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +8 -44
  289. package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +4 -58
  290. package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +4 -58
  291. package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +4 -69
  292. package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +4 -40
  293. package/typedoc/classes/animations_animate-runner.AnimateRunner.html +4 -263
  294. package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +4 -40
  295. package/typedoc/classes/animations_animate.AnimateProvider.html +42 -108
  296. package/typedoc/classes/animations_animation.AnimationProvider.html +8 -55
  297. package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +246 -86
  298. package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +4 -29
  299. package/typedoc/classes/core_compile_attributes.Attributes.html +22 -230
  300. package/typedoc/classes/core_compile_compile.CompileProvider.html +83 -160
  301. package/typedoc/classes/core_controller_controller.ControllerProvider.html +5 -74
  302. package/typedoc/classes/core_di_internal-injector.InjectorService.html +12 -144
  303. package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +7 -119
  304. package/typedoc/classes/core_di_ng-module.NgModule.html +8 -260
  305. package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +9 -74
  306. package/typedoc/classes/core_filter_filter.FilterProvider.html +146 -76
  307. package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +12 -92
  308. package/typedoc/classes/core_location_location.Location.html +6 -388
  309. package/typedoc/classes/core_location_location.LocationHashbangUrl.html +6 -341
  310. package/typedoc/classes/core_location_location.LocationHtml5Url.html +6 -341
  311. package/typedoc/classes/core_location_location.LocationProvider.html +4 -113
  312. package/typedoc/classes/core_parse_ast_ast.AST.html +4 -359
  313. package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +60 -337
  314. package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +4 -238
  315. package/typedoc/classes/core_parse_parse.ParseProvider.html +9 -57
  316. package/typedoc/classes/core_parse_parser_parser.Parser.html +6 -75
  317. package/typedoc/classes/core_pubsub_pubsub.PubSub.html +4 -146
  318. package/typedoc/classes/core_pubsub_pubsub.PubSubProvider.html +576 -0
  319. package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +172 -344
  320. package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +10 -146
  321. package/typedoc/classes/core_sce_sce.SceProvider.html +10 -63
  322. package/typedoc/classes/core_scope_scope.RootScopeProvider.html +6 -53
  323. package/typedoc/classes/core_scope_scope.Scope.html +179 -1493
  324. package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +4 -84
  325. package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +23 -128
  326. package/typedoc/classes/directive_aria_aria.AriaProvider.html +4 -51
  327. package/typedoc/classes/directive_form_form.FormController.html +5 -430
  328. package/typedoc/classes/directive_model_model.NgModelController.html +17 -996
  329. package/typedoc/classes/loader.Angular.html +72 -209
  330. package/typedoc/classes/router_common_glob.Glob.html +198 -171
  331. package/typedoc/classes/router_common_queue.Queue.html +252 -198
  332. package/typedoc/classes/router_common_trace.Trace.html +4 -249
  333. package/typedoc/classes/{router_globals.UIRouterGlobals.html → router_globals.RouterGlobals.html} +222 -109
  334. package/typedoc/classes/router_params_param-factory.ParamFactory.html +4 -73
  335. package/typedoc/classes/router_params_param-type.ParamType.html +4 -150
  336. package/typedoc/classes/router_params_param-types.ParamTypes.html +4 -95
  337. package/typedoc/classes/router_params_param.Param.html +4 -260
  338. package/typedoc/classes/router_params_state-params.StateParams.html +4 -40
  339. package/typedoc/classes/router_path_path-node.PathNode.html +4 -174
  340. package/typedoc/classes/router_path_path-utils.PathUtils.html +4 -128
  341. package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -256
  342. package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +4 -150
  343. package/typedoc/classes/router_state-provider.StateProvider.html +4 -84
  344. package/typedoc/classes/router_state_state-builder.StateBuilder.html +4 -106
  345. package/typedoc/classes/router_state_state-matcher.StateMatcher.html +4 -73
  346. package/typedoc/classes/router_state_state-object.StateObject.html +155 -224
  347. package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +4 -128
  348. package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +36 -334
  349. package/typedoc/classes/router_state_state-service.StateProvider.html +66 -336
  350. package/typedoc/classes/router_state_target-state.TargetState.html +4 -252
  351. package/typedoc/classes/{router_state_views.Ng1ViewConfig.html → router_state_views.ViewConfig.html} +58 -183
  352. package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +8 -209
  353. package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +13 -75
  354. package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +4 -201
  355. package/typedoc/classes/router_transition_reject-factory.Rejection.html +4 -183
  356. package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +4 -117
  357. package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +4 -280
  358. package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +11 -244
  359. package/typedoc/classes/router_transition_transition.Transition.html +412 -604
  360. package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +4 -149
  361. package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +4 -274
  362. package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +4 -95
  363. package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +4 -124
  364. package/typedoc/classes/router_url_url-rules.UrlRules.html +4 -222
  365. package/typedoc/classes/router_url_url-service.UrlService.html +4 -373
  366. package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +4 -69
  367. package/typedoc/classes/router_view_view.ViewService.html +166 -369
  368. package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +4 -164
  369. package/typedoc/classes/services_browser.Browser.html +4 -276
  370. package/typedoc/classes/services_browser.BrowserProvider.html +4 -29
  371. package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +4 -40
  372. package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +4 -40
  373. package/typedoc/classes/services_http_http.HttpProvider.html +4 -84
  374. package/typedoc/classes/services_log.LogProvider.html +4 -91
  375. package/typedoc/classes/services_template-request.TemplateRequestProvider.html +8 -55
  376. package/typedoc/classes/shared_noderef.NodeRef.html +4 -301
  377. package/typedoc/enums/core_parse_ast-type.ASTType.html +4 -212
  378. package/typedoc/enums/router_common_trace.Category.html +492 -0
  379. package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +10 -94
  380. package/typedoc/enums/router_transition_interface.TransitionHookScope.html +390 -0
  381. package/typedoc/enums/router_transition_reject-factory.RejectType.html +4 -80
  382. package/typedoc/functions/animations_animate-cache.animateCache.html +4 -84
  383. package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +6 -31
  384. package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +6 -31
  385. package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +4 -18
  386. package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +4 -18
  387. package/typedoc/functions/animations_shared.applyAnimationStyles.html +4 -18
  388. package/typedoc/functions/animations_shared.applyAnimationToStyles.html +4 -18
  389. package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +4 -18
  390. package/typedoc/functions/animations_shared.applyInlineStyle.html +4 -18
  391. package/typedoc/functions/animations_shared.assertArg.html +4 -18
  392. package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +4 -18
  393. package/typedoc/functions/animations_shared.clearGeneratedClasses.html +4 -18
  394. package/typedoc/functions/animations_shared.concatWithSpace.html +4 -18
  395. package/typedoc/functions/animations_shared.extractElementNode.html +4 -18
  396. package/typedoc/functions/animations_shared.mergeAnimationDetails.html +4 -18
  397. package/typedoc/functions/animations_shared.mergeClasses.html +4 -18
  398. package/typedoc/functions/animations_shared.packageStyles.html +4 -18
  399. package/typedoc/functions/animations_shared.pendClasses.html +4 -18
  400. package/typedoc/functions/animations_shared.prepareAnimationOptions.html +4 -18
  401. package/typedoc/functions/animations_shared.removeFromArray.html +4 -18
  402. package/typedoc/functions/animations_shared.resolveElementClasses.html +4 -18
  403. package/typedoc/functions/animations_shared.stripCommentsFromElement.html +4 -18
  404. package/typedoc/functions/core_controller_controller.identifierForController.html +4 -18
  405. package/typedoc/functions/core_di_injector.annotate.html +4 -18
  406. package/typedoc/functions/core_di_injector.createInjector.html +4 -18
  407. package/typedoc/functions/core_location_location.serverBase.html +4 -18
  408. package/typedoc/functions/core_location_location.stripBaseUrl.html +4 -18
  409. package/typedoc/functions/core_location_location.stripFile.html +4 -18
  410. package/typedoc/functions/core_location_location.stripHash.html +4 -18
  411. package/typedoc/functions/core_parse_interpreter.isAssignable.html +4 -18
  412. package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +4 -18
  413. package/typedoc/functions/core_sce_sce.adjustMatcher.html +4 -18
  414. package/typedoc/functions/core_sce_sce.escapeForRegexp.html +4 -18
  415. package/typedoc/functions/core_scope_scope.createScope.html +4 -18
  416. package/typedoc/functions/core_scope_scope.nextId.html +4 -18
  417. package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +4 -18
  418. package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +4 -18
  419. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +4 -18
  420. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +4 -18
  421. package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +4 -18
  422. package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +4 -18
  423. package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +4 -29
  424. package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +6 -31
  425. package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +4 -29
  426. package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +4 -29
  427. package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +4 -29
  428. package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +4 -18
  429. package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +4 -29
  430. package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +4 -29
  431. package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +4 -29
  432. package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +4 -29
  433. package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +4 -29
  434. package/typedoc/functions/directive_bind_bind.ngBindDirective.html +6 -20
  435. package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +6 -31
  436. package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +6 -20
  437. package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +6 -20
  438. package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +6 -20
  439. package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +6 -20
  440. package/typedoc/functions/directive_events_events.createEventDirective.html +10 -24
  441. package/typedoc/functions/directive_form_form.setupValidity.html +4 -18
  442. package/typedoc/functions/directive_if_if.ngIfDirective.html +6 -31
  443. package/typedoc/functions/directive_include_include.ngIncludeDirective.html +33 -178
  444. package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +6 -31
  445. package/typedoc/functions/directive_init_init.ngInitDirective.html +6 -20
  446. package/typedoc/functions/directive_input_input.badInputChecker.html +4 -18
  447. package/typedoc/functions/directive_input_input.countDecimals.html +4 -18
  448. package/typedoc/functions/directive_input_input.createDateInputType.html +4 -18
  449. package/typedoc/functions/directive_input_input.createDateParser.html +4 -18
  450. package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +6 -20
  451. package/typedoc/functions/directive_input_input.inputDirective.html +4 -29
  452. package/typedoc/functions/directive_input_input.isNumberInteger.html +4 -18
  453. package/typedoc/functions/directive_input_input.isValidForStep.html +4 -18
  454. package/typedoc/functions/directive_input_input.ngValueDirective.html +6 -20
  455. package/typedoc/functions/directive_input_input.numberFormatterParser.html +4 -18
  456. package/typedoc/functions/directive_input_input.numberInputType.html +4 -18
  457. package/typedoc/functions/directive_input_input.rangeInputType.html +4 -18
  458. package/typedoc/functions/directive_input_input.weekParser.html +4 -18
  459. package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +4 -29
  460. package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +4 -29
  461. package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +6 -20
  462. package/typedoc/functions/directive_model_model.ngModelDirective.html +4 -18
  463. package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +6 -20
  464. package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +6 -20
  465. package/typedoc/functions/directive_ref_ref.ngRefDirective.html +4 -29
  466. package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +6 -31
  467. package/typedoc/functions/directive_script_script.scriptDirective.html +6 -31
  468. package/typedoc/functions/directive_select_select.optionDirective.html +4 -29
  469. package/typedoc/functions/directive_select_select.selectDirective.html +6 -20
  470. package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +34 -33
  471. package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +6 -31
  472. package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +6 -31
  473. package/typedoc/functions/directive_style_style.ngStyleDirective.html +6 -20
  474. package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +6 -20
  475. package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +6 -31
  476. package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +6 -20
  477. package/typedoc/functions/filters_filter.filterFilter.html +13 -92
  478. package/typedoc/functions/filters_filters.formatNumber.html +4 -18
  479. package/typedoc/functions/filters_filters.jsonFilter.html +14 -40
  480. package/typedoc/functions/filters_limit-to.limitToFilter.html +13 -106
  481. package/typedoc/functions/filters_order-by.orderByFilter.html +18 -80
  482. package/typedoc/functions/public.publishExternalAPI.html +12 -30
  483. package/typedoc/{types/types.Injectable.html → functions/router_common_glob.hasGlobs.html} +53 -41
  484. package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +15 -33
  485. package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +4 -29
  486. package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +17 -102
  487. package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +4 -39
  488. package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +4 -18
  489. package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +4 -18
  490. package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +4 -18
  491. package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +4 -18
  492. package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +4 -18
  493. package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +4 -18
  494. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +4 -18
  495. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +4 -18
  496. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +4 -18
  497. package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +4 -18
  498. package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +4 -18
  499. package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +4 -18
  500. package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +4 -18
  501. package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +4 -18
  502. package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +4 -18
  503. package/typedoc/functions/router_hooks_views.registerActivateViews.html +4 -18
  504. package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +4 -18
  505. package/typedoc/functions/router_path_path-utils.makeTargetState.html +4 -18
  506. package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +18 -65
  507. package/typedoc/functions/router_state-filters._IsStateFilter.html +15 -59
  508. package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +4 -18
  509. package/typedoc/functions/router_state_state-registry.getLocals.html +4 -18
  510. package/typedoc/functions/{router_state_views.getNg1ViewConfigFactory.html → router_state_views.getViewConfigFactory.html} +14 -30
  511. package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +4 -18
  512. package/typedoc/functions/router_transition_hook-registry.makeEvent.html +4 -18
  513. package/typedoc/functions/router_transition_hook-registry.matchState.html +4 -18
  514. package/typedoc/functions/services_browser.trimEmptyHash.html +4 -18
  515. package/typedoc/functions/services_cookie-reader.getCookies.html +4 -18
  516. package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +4 -18
  517. package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +4 -18
  518. package/typedoc/functions/shared_common._removeFrom.html +4 -18
  519. package/typedoc/functions/shared_common.allTrueR.html +4 -18
  520. package/typedoc/functions/shared_common.ancestors.html +4 -18
  521. package/typedoc/functions/shared_common.anyTrueR.html +4 -18
  522. package/typedoc/functions/shared_common.applyPairs.html +4 -18
  523. package/typedoc/functions/shared_common.arrayTuples.html +4 -18
  524. package/typedoc/functions/shared_common.assertFn.html +4 -18
  525. package/typedoc/functions/shared_common.copy.html +4 -18
  526. package/typedoc/functions/shared_common.createProxyFunctions.html +4 -18
  527. package/typedoc/functions/shared_common.defaults.html +4 -18
  528. package/typedoc/functions/shared_common.deregAll.html +4 -18
  529. package/typedoc/functions/shared_common.equals.html +4 -18
  530. package/typedoc/functions/shared_common.filter.html +4 -18
  531. package/typedoc/functions/shared_common.find.html +4 -18
  532. package/typedoc/functions/shared_common.flatten.html +4 -18
  533. package/typedoc/functions/shared_common.flattenR.html +4 -18
  534. package/typedoc/functions/shared_common.inherit.html +4 -18
  535. package/typedoc/functions/shared_common.map.html +4 -18
  536. package/typedoc/functions/shared_common.omit.html +4 -18
  537. package/typedoc/functions/shared_common.pairs.html +4 -18
  538. package/typedoc/functions/shared_common.pick.html +4 -18
  539. package/typedoc/functions/shared_common.pushR.html +4 -18
  540. package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +4 -18
  541. package/typedoc/functions/shared_common.silentRejection.html +4 -18
  542. package/typedoc/functions/shared_common.tail.html +4 -18
  543. package/typedoc/functions/shared_common.uniqR.html +4 -18
  544. package/typedoc/functions/shared_common.unnest.html +4 -18
  545. package/typedoc/functions/shared_common.unnestR.html +4 -18
  546. package/typedoc/functions/shared_dom.appendNodesToElement.html +4 -18
  547. package/typedoc/functions/shared_dom.buildFragment.html +4 -18
  548. package/typedoc/functions/shared_dom.cleanElementData.html +4 -18
  549. package/typedoc/functions/shared_dom.createElementFromHTML.html +4 -18
  550. package/typedoc/functions/shared_dom.createNodelistFromHTML.html +4 -18
  551. package/typedoc/functions/shared_dom.dealoc.html +4 -18
  552. package/typedoc/functions/shared_dom.deleteCacheData.html +4 -18
  553. package/typedoc/functions/shared_dom.domInsert.html +4 -18
  554. package/typedoc/functions/shared_dom.emptyElement.html +4 -18
  555. package/typedoc/functions/shared_dom.getBlockNodes.html +4 -18
  556. package/typedoc/functions/shared_dom.getBooleanAttrName.html +4 -18
  557. package/typedoc/functions/shared_dom.getCacheData.html +4 -18
  558. package/typedoc/functions/shared_dom.getController.html +4 -18
  559. package/typedoc/functions/shared_dom.getExpando.html +4 -18
  560. package/typedoc/functions/shared_dom.getInheritedData.html +4 -18
  561. package/typedoc/functions/shared_dom.getInjector.html +4 -18
  562. package/typedoc/functions/shared_dom.getIsolateScope.html +4 -18
  563. package/typedoc/functions/shared_dom.getOrSetCacheData.html +4 -18
  564. package/typedoc/functions/shared_dom.getScope.html +4 -18
  565. package/typedoc/functions/shared_dom.isRoot.html +4 -18
  566. package/typedoc/functions/shared_dom.isTextNode.html +4 -18
  567. package/typedoc/functions/shared_dom.kebabToCamel.html +4 -18
  568. package/typedoc/functions/shared_dom.parseHtml.html +4 -18
  569. package/typedoc/functions/shared_dom.removeElement.html +4 -18
  570. package/typedoc/functions/shared_dom.removeElementData.html +4 -18
  571. package/typedoc/functions/shared_dom.setCacheData.html +4 -18
  572. package/typedoc/functions/shared_dom.setInheritedData.html +4 -18
  573. package/typedoc/functions/shared_dom.setIsolateScope.html +4 -18
  574. package/typedoc/functions/shared_dom.setScope.html +4 -18
  575. package/typedoc/functions/shared_dom.snakeToCamel.html +4 -18
  576. package/typedoc/functions/shared_dom.startingTag.html +4 -18
  577. package/typedoc/functions/shared_hof.all.html +4 -18
  578. package/typedoc/functions/shared_hof.compose.html +4 -18
  579. package/typedoc/functions/shared_hof.curry.html +4 -18
  580. package/typedoc/functions/shared_hof.is.html +4 -18
  581. package/typedoc/functions/shared_hof.or.html +4 -18
  582. package/typedoc/functions/shared_hof.parse.html +4 -18
  583. package/typedoc/functions/shared_hof.pattern.html +4 -18
  584. package/typedoc/functions/shared_hof.pipe.html +4 -18
  585. package/typedoc/functions/shared_hof.val.html +4 -18
  586. package/typedoc/functions/shared_predicates.isInjectable.html +4 -18
  587. package/typedoc/functions/shared_predicates.isPromise.html +4 -18
  588. package/typedoc/functions/shared_strings.beforeAfterSubstr.html +4 -18
  589. package/typedoc/functions/shared_strings.fnToString.html +4 -18
  590. package/typedoc/functions/shared_strings.functionToString.html +4 -18
  591. package/typedoc/functions/shared_strings.joinNeighborsR.html +4 -18
  592. package/typedoc/functions/shared_strings.kebobString.html +4 -18
  593. package/typedoc/functions/shared_strings.maxLength.html +4 -18
  594. package/typedoc/functions/shared_strings.padString.html +4 -18
  595. package/typedoc/functions/shared_strings.splitOnDelim.html +4 -18
  596. package/typedoc/functions/shared_strings.stringify.html +4 -18
  597. package/typedoc/functions/shared_strings.stripLastPathElement.html +4 -18
  598. package/typedoc/functions/shared_strings.trimHashVal.html +4 -18
  599. package/typedoc/functions/shared_test-utils.bootstrap.html +4 -18
  600. package/typedoc/functions/shared_test-utils.browserTrigger.html +4 -18
  601. package/typedoc/functions/shared_test-utils.wait.html +4 -18
  602. package/typedoc/functions/shared_utils.addDateMinutes.html +4 -18
  603. package/typedoc/functions/shared_utils.arrayRemove.html +4 -18
  604. package/typedoc/functions/shared_utils.assert.html +4 -18
  605. package/typedoc/functions/shared_utils.assertArg.html +4 -18
  606. package/typedoc/functions/shared_utils.assertArgFn.html +4 -18
  607. package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +4 -18
  608. package/typedoc/functions/shared_utils.baseExtend.html +4 -18
  609. package/typedoc/functions/shared_utils.bind.html +4 -18
  610. package/typedoc/functions/shared_utils.concat.html +4 -18
  611. package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +4 -18
  612. package/typedoc/functions/shared_utils.csp.html +4 -18
  613. package/typedoc/functions/shared_utils.directiveNormalize.html +4 -18
  614. package/typedoc/functions/shared_utils.encodeUriQuery.html +4 -18
  615. package/typedoc/functions/shared_utils.encodeUriSegment.html +4 -18
  616. package/typedoc/functions/shared_utils.equals.html +4 -18
  617. package/typedoc/functions/shared_utils.errorHandlingConfig.html +4 -18
  618. package/typedoc/functions/shared_utils.extend.html +5 -19
  619. package/typedoc/functions/shared_utils.fromJson.html +4 -18
  620. package/typedoc/functions/shared_utils.getNgAttribute.html +4 -18
  621. package/typedoc/functions/shared_utils.getNodeName.html +4 -18
  622. package/typedoc/functions/shared_utils.hasAnimate.html +4 -18
  623. package/typedoc/functions/shared_utils.hasCustomToString.html +4 -18
  624. package/typedoc/functions/{shared_utils.merge.html → shared_utils.hasOwn.html} +45 -106
  625. package/typedoc/functions/shared_utils.hashKey.html +4 -18
  626. package/typedoc/functions/shared_utils.includes.html +4 -18
  627. package/typedoc/functions/shared_utils.inherit.html +4 -18
  628. package/typedoc/functions/shared_utils.isArrayBuffer.html +4 -18
  629. package/typedoc/functions/shared_utils.isArrayLike.html +7 -18
  630. package/typedoc/functions/shared_utils.isBlankObject.html +8 -18
  631. package/typedoc/functions/shared_utils.isBlob.html +4 -18
  632. package/typedoc/functions/shared_utils.isBoolean.html +4 -18
  633. package/typedoc/functions/shared_utils.isDate.html +4 -18
  634. package/typedoc/functions/shared_utils.isDefined.html +4 -18
  635. package/typedoc/functions/shared_utils.isElement.html +4 -18
  636. package/typedoc/functions/shared_utils.isError.html +4 -18
  637. package/typedoc/functions/shared_utils.isFile.html +4 -18
  638. package/typedoc/functions/shared_utils.isFormData.html +4 -18
  639. package/typedoc/functions/shared_utils.isFunction.html +4 -18
  640. package/typedoc/functions/shared_utils.isNull.html +4 -18
  641. package/typedoc/functions/shared_utils.isNullOrUndefined.html +4 -18
  642. package/typedoc/functions/shared_utils.isNumber.html +4 -18
  643. package/typedoc/functions/shared_utils.isNumberNaN.html +4 -18
  644. package/typedoc/functions/shared_utils.isObject.html +4 -18
  645. package/typedoc/functions/shared_utils.isObjectEmpty.html +4 -18
  646. package/typedoc/functions/shared_utils.isPromiseLike.html +4 -18
  647. package/typedoc/functions/shared_utils.isProxy.html +4 -18
  648. package/typedoc/functions/shared_utils.isRegExp.html +4 -18
  649. package/typedoc/functions/shared_utils.isScope.html +4 -18
  650. package/typedoc/functions/shared_utils.isString.html +4 -18
  651. package/typedoc/functions/shared_utils.isTypedArray.html +4 -18
  652. package/typedoc/functions/shared_utils.isUndefined.html +4 -18
  653. package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +4 -18
  654. package/typedoc/functions/shared_utils.isWindow.html +4 -18
  655. package/typedoc/functions/shared_utils.lowercase.html +4 -18
  656. package/typedoc/functions/shared_utils.mergeClasses.html +4 -18
  657. package/typedoc/functions/shared_utils.minErr.html +5 -19
  658. package/typedoc/functions/shared_utils.nextUid.html +4 -18
  659. package/typedoc/functions/shared_utils.parseKeyValue.html +4 -18
  660. package/typedoc/functions/shared_utils.setHashKey.html +4 -18
  661. package/typedoc/functions/shared_utils.shallowCopy.html +4 -18
  662. package/typedoc/functions/shared_utils.simpleCompare.html +4 -18
  663. package/typedoc/functions/shared_utils.sliceArgs.html +4 -18
  664. package/typedoc/functions/shared_utils.snakeCase.html +4 -18
  665. package/typedoc/functions/shared_utils.stringify.html +4 -18
  666. package/typedoc/functions/shared_utils.timezoneToOffset.html +4 -18
  667. package/typedoc/functions/shared_utils.toDebugString.html +4 -18
  668. package/typedoc/functions/shared_utils.toInt.html +4 -18
  669. package/typedoc/functions/shared_utils.toJson.html +5 -19
  670. package/typedoc/functions/shared_utils.toKeyValue.html +4 -18
  671. package/typedoc/functions/shared_utils.trim.html +4 -18
  672. package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +9 -19
  673. package/typedoc/functions/shared_utils.uppercase.html +4 -18
  674. package/typedoc/hierarchy.html +8 -11
  675. package/typedoc/index.html +29 -32
  676. package/typedoc/interfaces/animations_animate.AnimationOptions.html +4 -62
  677. package/typedoc/interfaces/{types.Annotated.html → animations_raf-scheduler.ServiceProvider.html} +47 -51
  678. package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +4 -51
  679. package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +20 -67
  680. package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +596 -0
  681. package/typedoc/interfaces/core_compile_compile.SimpleChange.html +4 -40
  682. package/typedoc/interfaces/core_location_location.DefaultPorts.html +4 -51
  683. package/typedoc/interfaces/core_location_location.Html5Mode.html +4 -51
  684. package/typedoc/interfaces/core_parse_ast_ast.Token.html +4 -84
  685. package/typedoc/interfaces/{core_parse_parse.CompiledExpressionHandlerMap.html → core_parse_interface.CompiledExpressionHandlerMap.html} +22 -75
  686. package/typedoc/interfaces/{core_parse_parse.CompiledExpressionProps.html → core_parse_interface.CompiledExpressionProps.html} +189 -137
  687. package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +4 -40
  688. package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +4 -29
  689. package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +305 -0
  690. package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +4 -51
  691. package/typedoc/interfaces/core_scope_scope.Listener.html +6 -108
  692. package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +4 -73
  693. package/typedoc/interfaces/{types.ChangesObject.html → interface.ChangesObject.html} +29 -101
  694. package/typedoc/interfaces/interface.ComponentOptions.html +712 -0
  695. package/typedoc/interfaces/{types.Controller.html → interface.Controller.html} +19 -119
  696. package/typedoc/interfaces/{types.Directive.html → interface.Directive.html} +159 -323
  697. package/typedoc/interfaces/{types.DirectivePrePost.html → interface.DirectivePrePost.html} +18 -53
  698. package/typedoc/interfaces/interface.NgModelController.html +1362 -0
  699. package/typedoc/interfaces/{types.NgModelOptions.html → interface.NgModelOptions.html} +32 -105
  700. package/typedoc/interfaces/interface.Provider.html +1056 -0
  701. package/typedoc/interfaces/interface.TranscludeFunctionObject.html +723 -0
  702. package/typedoc/interfaces/loader.AngularBootstrapConfig.html +4 -29
  703. package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +1211 -0
  704. package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +1273 -0
  705. package/typedoc/interfaces/router_params_interface.RawParams.html +295 -0
  706. package/typedoc/interfaces/router_params_interface.Replace.html +429 -0
  707. package/typedoc/{types/animations_raf-scheduler.RafSchedulerFunction.html → interfaces/router_resolve_interface.CustomAsyncPolicy.html} +51 -26
  708. package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +580 -0
  709. package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +601 -0
  710. package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +638 -0
  711. package/typedoc/interfaces/router_state_interface.HrefOptions.html +530 -0
  712. package/typedoc/interfaces/{types.ServiceProviderClass.html → router_state_interface.LazyLoadResult.html} +46 -51
  713. package/typedoc/interfaces/router_state_interface.StateDeclaration.html +2461 -0
  714. package/typedoc/interfaces/router_state_interface.TargetStateDef.html +468 -0
  715. package/typedoc/interfaces/router_state_interface.TransitionPromise.html +1192 -0
  716. package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +1499 -0
  717. package/typedoc/interfaces/router_template-factory.BindingTuple.html +4 -40
  718. package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +719 -0
  719. package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +482 -0
  720. package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +2969 -0
  721. package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +594 -0
  722. package/typedoc/interfaces/{animations_raf-scheduler.RafSchedulerObject.html → router_transition_interface.PathType.html} +64 -52
  723. package/typedoc/interfaces/router_transition_interface.PathTypes.html +588 -0
  724. package/typedoc/{variables/core_di_ng-module.PROVIDE_LITERAL.html → interfaces/router_transition_interface.RegisteredHooks.html} +27 -24
  725. package/typedoc/{functions/shared_utils.replaceInline.html → interfaces/router_transition_interface.TransitionCreateHookFn.html} +44 -59
  726. package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +352 -0
  727. package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +627 -0
  728. package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +1096 -0
  729. package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +374 -0
  730. package/typedoc/interfaces/router_transition_interface.TreeChanges.html +769 -0
  731. package/typedoc/interfaces/{types.TranscludeFunctionObject.html → router_view_interface.ActiveUIView.html} +197 -199
  732. package/typedoc/interfaces/router_view_interface.ViewConfig.html +651 -0
  733. package/typedoc/interfaces/{types.OnChangesObject.html → router_view_interface.ViewContext.html} +65 -58
  734. package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +4 -29
  735. package/typedoc/interfaces/services_log.LogService.html +4 -80
  736. package/typedoc/{types/core_parse_parse.CompiledExpressionFunction.html → interfaces/shared_interface.TypedMap.html} +28 -26
  737. package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +4 -40
  738. package/typedoc/media/CONTRIBUTING.md +9 -9
  739. package/typedoc/media/DEVELOPERS.md +30 -30
  740. package/typedoc/modules/animations_animate-cache.html +4 -7
  741. package/typedoc/modules/animations_animate-children-directive.html +4 -9
  742. package/typedoc/modules/animations_animate-css-driver.html +4 -7
  743. package/typedoc/modules/animations_animate-css.html +4 -7
  744. package/typedoc/modules/animations_animate-js-driver.html +4 -7
  745. package/typedoc/modules/animations_animate-js.html +4 -7
  746. package/typedoc/modules/animations_animate-queue.html +4 -7
  747. package/typedoc/modules/animations_animate-runner.html +4 -7
  748. package/typedoc/modules/animations_animate-swap.html +4 -7
  749. package/typedoc/modules/animations_animate.html +4 -7
  750. package/typedoc/modules/animations_animation.html +4 -7
  751. package/typedoc/modules/animations_interface.html +322 -0
  752. package/typedoc/modules/animations_raf-scheduler.html +19 -52
  753. package/typedoc/modules/animations_shared.html +4 -7
  754. package/typedoc/modules/core_cache_cache-factory.html +4 -7
  755. package/typedoc/modules/core_cache_cache.html +4 -7
  756. package/typedoc/modules/core_compile_attributes.html +4 -7
  757. package/typedoc/modules/core_compile_compile.html +31 -7
  758. package/typedoc/modules/core_controller_controller.html +4 -7
  759. package/typedoc/modules/core_di_injector.html +4 -65
  760. package/typedoc/modules/core_di_internal-injector.html +4 -7
  761. package/typedoc/modules/core_di_ng-module.html +4 -34
  762. package/typedoc/{types/types.AnnotatedFunction.html → modules/core_error-handler.html} +86 -35
  763. package/typedoc/modules/core_exception-handler.html +52 -19
  764. package/typedoc/modules/core_filter_filter.html +4 -7
  765. package/typedoc/modules/core_interpolate_interpolate.html +4 -7
  766. package/typedoc/modules/core_location_location.html +4 -7
  767. package/typedoc/modules/core_parse_ast-type.html +4 -7
  768. package/typedoc/modules/core_parse_ast_ast-node.html +4 -7
  769. package/typedoc/modules/core_parse_ast_ast.html +4 -69
  770. package/typedoc/modules/core_parse_interface.html +470 -0
  771. package/typedoc/modules/core_parse_interpreter.html +4 -7
  772. package/typedoc/modules/core_parse_lexer_lexer.html +4 -7
  773. package/typedoc/modules/core_parse_lexer_token.html +4 -7
  774. package/typedoc/modules/core_parse_parse.html +4 -220
  775. package/typedoc/modules/core_parse_parser_parser.html +4 -7
  776. package/typedoc/modules/core_pubsub_pubsub.html +95 -7
  777. package/typedoc/modules/core_sanitize_interface.html +320 -0
  778. package/typedoc/modules/core_sanitize_sanitize-uri.html +68 -7
  779. package/typedoc/modules/core_sce_sce.html +5 -8
  780. package/typedoc/modules/core_scope_scope.html +4 -7
  781. package/typedoc/modules/core_task-tracker-factory.html +134 -7
  782. package/typedoc/modules/core_url-utils_url-utils.html +4 -7
  783. package/typedoc/modules/directive_aria_aria.html +4 -7
  784. package/typedoc/modules/directive_attrs_attrs.html +4 -7
  785. package/typedoc/modules/directive_bind_bind.html +4 -7
  786. package/typedoc/modules/directive_channel_channel.html +4 -7
  787. package/typedoc/modules/directive_class_class.html +4 -7
  788. package/typedoc/modules/directive_cloak_cloak.html +4 -7
  789. package/typedoc/modules/directive_controller_controller.html +4 -7
  790. package/typedoc/modules/directive_events_events.html +4 -7
  791. package/typedoc/modules/directive_form_form.html +4 -7
  792. package/typedoc/modules/directive_if_if.html +4 -7
  793. package/typedoc/modules/directive_include_include.html +4 -7
  794. package/typedoc/modules/directive_init_init.html +4 -7
  795. package/typedoc/modules/directive_input_input.html +4 -7
  796. package/typedoc/modules/directive_messages_messages.html +4 -7
  797. package/typedoc/modules/directive_model-options_model-options.html +4 -9
  798. package/typedoc/modules/directive_model_model.html +4 -7
  799. package/typedoc/modules/directive_non-bindable_non-bindable.html +4 -9
  800. package/typedoc/modules/directive_observe_observe.html +4 -7
  801. package/typedoc/modules/directive_options_options.html +4 -7
  802. package/typedoc/modules/directive_ref_ref.html +4 -7
  803. package/typedoc/modules/directive_repeat_repeat.html +4 -7
  804. package/typedoc/modules/directive_script_script.html +4 -7
  805. package/typedoc/modules/directive_select_select.html +4 -7
  806. package/typedoc/modules/directive_setter_setter.html +4 -7
  807. package/typedoc/modules/directive_show-hide_show-hide.html +4 -7
  808. package/typedoc/modules/directive_style_style.html +4 -7
  809. package/typedoc/modules/directive_switch_switch.html +4 -7
  810. package/typedoc/modules/directive_transclude_transclude.html +4 -7
  811. package/typedoc/modules/directive_validators_validators.html +4 -7
  812. package/typedoc/modules/filters_filter.html +4 -7
  813. package/typedoc/modules/filters_filters.html +4 -7
  814. package/typedoc/modules/filters_limit-to.html +4 -7
  815. package/typedoc/modules/filters_order-by.html +4 -7
  816. package/typedoc/modules/index.html +4 -84
  817. package/typedoc/{types/types.transcludeWithScope.html → modules/injection-tokens.html} +84 -27
  818. package/typedoc/modules/{types.html → interface.html} +111 -420
  819. package/typedoc/modules/loader.html +4 -7
  820. package/typedoc/modules/public.html +4 -7
  821. package/typedoc/modules/router_common_glob.html +66 -188
  822. package/typedoc/modules/router_common_queue.html +4 -7
  823. package/typedoc/modules/router_common_trace.html +69 -34
  824. package/typedoc/modules/router_directives_state-directives.html +4 -7
  825. package/typedoc/modules/router_directives_view-directive.html +4 -7
  826. package/typedoc/modules/router_globals.html +74 -13
  827. package/typedoc/modules/router_hooks_core-resolvables.html +4 -7
  828. package/typedoc/modules/router_hooks_ignored-transition.html +4 -7
  829. package/typedoc/modules/router_hooks_invalid-transition.html +4 -7
  830. package/typedoc/modules/router_hooks_lazy-load.html +4 -7
  831. package/typedoc/modules/router_hooks_on-enter-exit-retain.html +4 -7
  832. package/typedoc/modules/router_hooks_redirect-to.html +4 -7
  833. package/typedoc/modules/router_hooks_resolve.html +4 -7
  834. package/typedoc/modules/router_hooks_update-globals.html +4 -7
  835. package/typedoc/modules/router_hooks_url.html +4 -7
  836. package/typedoc/modules/router_hooks_views.html +4 -7
  837. package/typedoc/modules/router_params_interface.html +402 -0
  838. package/typedoc/modules/router_params_param-factory.html +4 -7
  839. package/typedoc/modules/router_params_param-type.html +4 -7
  840. package/typedoc/modules/router_params_param-types.html +4 -7
  841. package/typedoc/modules/router_params_param.html +4 -7
  842. package/typedoc/modules/router_params_state-params.html +4 -7
  843. package/typedoc/modules/router_path_path-node.html +4 -7
  844. package/typedoc/modules/router_path_path-utils.html +4 -7
  845. package/typedoc/modules/router_resolve_interface.html +521 -0
  846. package/typedoc/modules/router_resolve_resolvable.html +4 -7
  847. package/typedoc/modules/router_resolve_resolve-context.html +4 -7
  848. package/typedoc/modules/router_state-filters.html +4 -7
  849. package/typedoc/modules/router_state-provider.html +4 -7
  850. package/typedoc/modules/router_state_interface.html +606 -0
  851. package/typedoc/modules/router_state_state-builder.html +4 -7
  852. package/typedoc/modules/router_state_state-matcher.html +4 -7
  853. package/typedoc/modules/router_state_state-object.html +68 -7
  854. package/typedoc/modules/router_state_state-queue-manager.html +4 -7
  855. package/typedoc/modules/router_state_state-registry.html +68 -7
  856. package/typedoc/modules/router_state_state-service.html +4 -7
  857. package/typedoc/modules/router_state_target-state.html +4 -7
  858. package/typedoc/modules/router_state_views.html +16 -21
  859. package/typedoc/modules/router_template-factory.html +4 -7
  860. package/typedoc/modules/router_transition_hook-builder.html +4 -7
  861. package/typedoc/modules/router_transition_hook-registry.html +4 -7
  862. package/typedoc/modules/router_transition_interface.html +557 -21
  863. package/typedoc/modules/router_transition_reject-factory.html +4 -7
  864. package/typedoc/modules/router_transition_transition-event-type.html +4 -9
  865. package/typedoc/modules/router_transition_transition-hook.html +4 -7
  866. package/typedoc/modules/router_transition_transition-service.html +4 -9
  867. package/typedoc/modules/router_transition_transition.html +68 -7
  868. package/typedoc/modules/router_url_url-config.html +4 -7
  869. package/typedoc/modules/router_url_url-matcher.html +4 -7
  870. package/typedoc/modules/router_url_url-rule.html +4 -7
  871. package/typedoc/modules/router_url_url-rules.html +4 -7
  872. package/typedoc/modules/router_url_url-service.html +4 -7
  873. package/typedoc/modules/router_view-scroll.html +4 -7
  874. package/typedoc/modules/router_view_interface.html +373 -0
  875. package/typedoc/modules/router_view_view.html +4 -7
  876. package/typedoc/modules/services_anchor-scroll.html +4 -7
  877. package/typedoc/modules/services_browser.html +4 -7
  878. package/typedoc/modules/services_cookie-reader.html +4 -7
  879. package/typedoc/modules/services_http-backend_http-backend.html +4 -7
  880. package/typedoc/modules/services_http_http.html +4 -7
  881. package/typedoc/modules/services_log.html +4 -7
  882. package/typedoc/modules/services_template-request.html +4 -7
  883. package/typedoc/modules/shared_common.html +4 -7
  884. package/typedoc/modules/shared_constants.html +4 -7
  885. package/typedoc/modules/shared_dom.html +4 -7
  886. package/typedoc/modules/shared_hof.html +4 -7
  887. package/typedoc/modules/shared_interface.html +436 -0
  888. package/typedoc/modules/shared_noderef.html +4 -7
  889. package/typedoc/modules/shared_predicates.html +4 -7
  890. package/typedoc/modules/shared_strings.html +4 -7
  891. package/typedoc/modules/shared_test-utils.html +4 -7
  892. package/typedoc/modules/shared_utils.html +30 -60
  893. package/typedoc/modules.html +298 -31
  894. package/typedoc/types/animations_animate.AnimationMethod.html +4 -18
  895. package/typedoc/types/animations_interface.RafScheduler.html +602 -0
  896. package/typedoc/types/core_cache_cache-factory.TemplateCache.html +4 -18
  897. package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +4 -18
  898. package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +4 -18
  899. package/typedoc/types/core_compile_compile.CompileFn.html +4 -18
  900. package/typedoc/types/core_compile_compile.CompileNodesFn.html +4 -18
  901. package/typedoc/types/core_compile_compile.CompositeLinkFn.html +4 -18
  902. package/typedoc/types/core_compile_compile.NodeLinkFn.html +6 -50
  903. package/typedoc/types/core_compile_compile.PublicLinkFn.html +13 -18
  904. package/typedoc/types/core_compile_compile.TranscludeFn.html +4 -18
  905. package/typedoc/types/{core_exception-handler.ErrorHandler.html → core_error-handler.ErrorHandler.html} +10 -21
  906. package/typedoc/types/core_exception-handler.LogService.html +4 -18
  907. package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +4 -293
  908. package/typedoc/types/{core_parse_parse.CompiledExpression.html → core_parse_interface.CompiledExpression.html} +15 -21
  909. package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +347 -0
  910. package/typedoc/types/core_parse_interface.ParseService.html +474 -0
  911. package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +4 -18
  912. package/typedoc/types/core_scope_scope.ListenerFunction.html +4 -18
  913. package/typedoc/{variables/router_common_trace.Category.html → types/core_task-tracker-factory.AnnotatedFactory.html} +30 -32
  914. package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +4 -18
  915. package/typedoc/types/{types.CloneAttachFunction.html → interface.CloneAttachFunction.html} +8 -27
  916. package/typedoc/types/interface.ControllerConstructor.html +315 -0
  917. package/typedoc/types/interface.DirectiveCompileFn.html +406 -0
  918. package/typedoc/types/{types.DirectiveController.html → interface.DirectiveController.html} +11 -22
  919. package/typedoc/types/{types.DirectiveFactory.html → interface.DirectiveFactory.html} +14 -25
  920. package/typedoc/types/{types.DirectiveLinkFn.html → interface.DirectiveLinkFn.html} +62 -68
  921. package/typedoc/types/{types.Expression.html → interface.Expression.html} +16 -19
  922. package/typedoc/types/interface.FilterFactory.html +310 -0
  923. package/typedoc/types/interface.FilterFn.html +314 -0
  924. package/typedoc/types/{types.TAttributes.html → interface.Injectable.html} +16 -25
  925. package/typedoc/types/interface.InjectableFactory.html +309 -0
  926. package/typedoc/types/{types.Attributes.html → interface.OnChangesObject.html} +16 -24
  927. package/typedoc/types/{types.TController.html → interface.TController.html} +10 -21
  928. package/typedoc/types/{types.FilterFactory.html → router_resolve_interface.PolicyAsync.html} +21 -24
  929. package/typedoc/types/{types.TElement.html → router_resolve_interface.PolicyWhen.html} +15 -24
  930. package/typedoc/types/router_state_interface.RedirectToResult.html +287 -0
  931. package/typedoc/{variables/index.angular.html → types/router_state_interface.ResolveTypes.html} +27 -25
  932. package/typedoc/types/{types.TScope.html → router_state_interface.StateOrName.html} +22 -25
  933. package/typedoc/types/{animations_raf-scheduler.RafScheduler.html → router_state_interface._StateDeclaration.html} +28 -30
  934. package/typedoc/types/{types.ServiceProvider.html → router_transition_interface.HookFn.html} +28 -25
  935. package/typedoc/types/router_transition_interface.HookMatchCriterion.html +270 -0
  936. package/typedoc/{variables/router_transition_interface.TransitionHookScope.html → types/router_transition_interface.HookResult.html} +61 -50
  937. package/typedoc/types/{types.DirectiveCompileFn.html → router_transition_interface.IHookRegistration.html} +54 -68
  938. package/typedoc/{variables/core_parse_ast_ast.literals.html → types/router_transition_interface.IStateMatch.html} +28 -28
  939. package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +4 -18
  940. package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +4 -18
  941. package/typedoc/types/services_browser.UrlChangeListener.html +4 -18
  942. package/typedoc/types/services_log.LogCall.html +4 -18
  943. package/typedoc/types/shared_interface.Mapper.html +337 -0
  944. package/typedoc/types/shared_interface.Predicate.html +305 -0
  945. package/typedoc/types/shared_interface.PredicateBinary.html +330 -0
  946. package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +4 -18
  947. package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +4 -18
  948. package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +4 -18
  949. package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +4 -18
  950. package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +4 -18
  951. package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +4 -18
  952. package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +4 -18
  953. package/typedoc/variables/animations_shared.ANIMATION_PROP.html +4 -18
  954. package/typedoc/variables/animations_shared.CSS_PREFIX.html +4 -18
  955. package/typedoc/variables/animations_shared.DELAY_KEY.html +4 -18
  956. package/typedoc/variables/animations_shared.DURATION_KEY.html +4 -18
  957. package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +4 -18
  958. package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +4 -18
  959. package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +4 -18
  960. package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +4 -18
  961. package/typedoc/variables/animations_shared.PROPERTY_KEY.html +4 -18
  962. package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +4 -18
  963. package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +4 -18
  964. package/typedoc/variables/animations_shared.TIMING_KEY.html +4 -18
  965. package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +4 -18
  966. package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +4 -18
  967. package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +4 -18
  968. package/typedoc/variables/animations_shared.TRANSITION_PROP.html +4 -18
  969. package/typedoc/variables/animations_shared.ngMinErr.html +4 -18
  970. package/typedoc/variables/core_cache_cache.Cache.html +4 -18
  971. package/typedoc/variables/core_cache_cache.EXPANDO.html +4 -18
  972. package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +4 -18
  973. package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +4 -18
  974. package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +4 -18
  975. package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +4 -18
  976. package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +4 -18
  977. package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +4 -18
  978. package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +4 -18
  979. package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +4 -18
  980. package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +4 -18
  981. package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +4 -18
  982. package/typedoc/variables/core_pubsub_pubsub.EventBus.html +4 -18
  983. package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +4 -18
  984. package/typedoc/variables/core_scope_scope.NONSCOPE.html +4 -18
  985. package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +4 -18
  986. package/typedoc/variables/core_scope_scope._postUpdateQueue.html +4 -18
  987. package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +4 -18
  988. package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +4 -18
  989. package/typedoc/variables/directive_class_class.ngClassDirective.html +7 -21
  990. package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +7 -21
  991. package/typedoc/variables/directive_class_class.ngClassOddDirective.html +7 -21
  992. package/typedoc/variables/directive_events_events.ngEventDirectives.html +4 -18
  993. package/typedoc/variables/directive_form_form.PENDING_CLASS.html +4 -18
  994. package/typedoc/variables/directive_form_form.formDirective.html +4 -18
  995. package/typedoc/variables/directive_form_form.ngFormDirective.html +4 -18
  996. package/typedoc/variables/directive_form_form.nullFormCtrl.html +4 -18
  997. package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +4 -18
  998. package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +4 -18
  999. package/typedoc/variables/directive_input_input.URL_REGEXP.html +4 -18
  1000. package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +4 -18
  1001. package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +4 -18
  1002. package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +4 -18
  1003. package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +4 -18
  1004. package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +4 -18
  1005. package/typedoc/variables/directive_model_model.ngModelMinErr.html +4 -18
  1006. package/typedoc/variables/directive_options_options.ngOptionsDirective.html +24 -26
  1007. package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +8 -22
  1008. package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +14 -28
  1009. package/typedoc/variables/directive_validators_validators.minlengthDirective.html +6 -20
  1010. package/typedoc/variables/directive_validators_validators.patternDirective.html +14 -28
  1011. package/typedoc/variables/directive_validators_validators.requiredDirective.html +14 -28
  1012. package/typedoc/{types/types.AsyncModelValidators.html → variables/injection-tokens._injectTokens.html} +29 -25
  1013. package/typedoc/variables/public.VERSION.html +5 -23
  1014. package/typedoc/variables/router_common_trace.trace.html +4 -18
  1015. package/typedoc/variables/router_directives_view-directive.ngView.html +9 -28
  1016. package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +4 -18
  1017. package/typedoc/variables/router_params_param.DefType.html +4 -18
  1018. package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +4 -18
  1019. package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +4 -18
  1020. package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +4 -18
  1021. package/typedoc/variables/services_log.LogService.html +4 -25
  1022. package/typedoc/variables/shared_common.assertMap.html +4 -18
  1023. package/typedoc/variables/shared_common.assertPredicate.html +4 -18
  1024. package/typedoc/variables/shared_common.pushTo.html +4 -18
  1025. package/typedoc/variables/shared_common.removeFrom.html +4 -18
  1026. package/typedoc/variables/shared_constants.ALIASED_ATTR.html +4 -18
  1027. package/typedoc/variables/shared_constants.DIRTY_CLASS.html +4 -18
  1028. package/typedoc/variables/shared_constants.EMPTY_CLASS.html +4 -18
  1029. package/typedoc/variables/shared_constants.INVALID_CLASS.html +4 -18
  1030. package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +4 -18
  1031. package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +4 -18
  1032. package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +4 -18
  1033. package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +4 -18
  1034. package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +4 -18
  1035. package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +4 -18
  1036. package/typedoc/variables/shared_constants.VALID_CLASS.html +4 -18
  1037. package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +4 -18
  1038. package/typedoc/variables/shared_hof.propEq.html +4 -18
  1039. package/typedoc/variables/shared_strings.hostRegex.html +4 -18
  1040. package/typedoc/variables/shared_strings.splitEqual.html +4 -18
  1041. package/typedoc/variables/shared_strings.splitHash.html +4 -18
  1042. package/typedoc/variables/shared_strings.splitQuery.html +4 -18
  1043. package/typedoc/variables/shared_utils.isProxySymbol.html +4 -18
  1044. package/typedoc/variables/shared_utils.ngAttrPrefixes.html +4 -18
  1045. package/typedoc.json +3 -1
  1046. package/@types/directive/change/change.d.ts +0 -4
  1047. package/@types/types.d.ts +0 -595
  1048. package/SECURITY.md +0 -16
  1049. package/TODO.md +0 -13
  1050. package/docs/content/en/about/featured-background.jpg +0 -0
  1051. package/docs/content/en/about/index.md +0 -37
  1052. package/docs/content/en/blog/_index.md +0 -8
  1053. package/docs/content/en/blog/news/_index.md +0 -4
  1054. package/docs/content/en/blog/news/first-post/featured-sunset-get.png +0 -0
  1055. package/docs/content/en/blog/news/first-post/index.md +0 -46
  1056. package/docs/content/en/blog/news/second-post.md +0 -238
  1057. package/docs/content/en/blog/releases/_index.md +0 -4
  1058. package/docs/content/en/blog/releases/in-depth-monoliths-detailed-spec.md +0 -238
  1059. package/docs/content/en/community/_index.md +0 -6
  1060. package/docs/content/en/docs/concepts/_index.md +0 -14
  1061. package/docs/content/en/docs/contribution-guidelines/_index.md +0 -77
  1062. package/docs/content/en/docs/examples/_index.md +0 -13
  1063. package/docs/content/en/docs/getting-started/_index.md +0 -35
  1064. package/docs/content/en/docs/getting-started/example-page.md +0 -231
  1065. package/docs/content/en/docs/overview/_index.md +0 -34
  1066. package/docs/content/en/docs/reference/_index.md +0 -12
  1067. package/docs/content/en/docs/reference/parameter-reference.md +0 -207
  1068. package/docs/content/en/docs/tasks/Ponycopters/_index.md +0 -12
  1069. package/docs/content/en/docs/tasks/Ponycopters/configuring-ponycopters.md +0 -230
  1070. package/docs/content/en/docs/tasks/Ponycopters/launching-ponycopters.md +0 -230
  1071. package/docs/content/en/docs/tasks/_index.md +0 -21
  1072. package/docs/content/en/docs/tasks/beds.md +0 -230
  1073. package/docs/content/en/docs/tasks/porridge.md +0 -230
  1074. package/docs/content/en/docs/tasks/task.md +0 -230
  1075. package/docs/content/en/docs/tutorials/_index.md +0 -12
  1076. package/docs/content/en/docs/tutorials/multi-bear.md +0 -230
  1077. package/docs/content/en/docs/tutorials/tutorial2.md +0 -230
  1078. package/docs/content/en/featured-background.jpg +0 -0
  1079. package/docs/content/en/search.md +0 -4
  1080. package/docs/layouts/_default/_markup/render-heading.html +0 -1
  1081. package/public/public/legacy.html +0 -13203
  1082. package/src/types.js +0 -427
  1083. package/typedoc/interfaces/types.FormController.html +0 -1541
  1084. package/typedoc/interfaces/types.Module.html +0 -1566
  1085. package/typedoc/interfaces/types.NgModelController.html +0 -2088
  1086. package/typedoc/types/core_parse_parse.ParseService.html +0 -266
  1087. package/typedoc/types/types.BootstrapConfig.html +0 -262
  1088. package/typedoc/types/types.ComponentOptions.html +0 -262
  1089. package/typedoc/types/types.ControllerConstructor.html +0 -262
  1090. package/typedoc/types/types.FilterFunction.html +0 -262
  1091. package/typedoc/types/types.ModelValidators.html +0 -266
  1092. package/typedoc/types/types.ServiceProviderFactory.html +0 -262
  1093. package/typedoc/types/types.TranscludeFunction.html +0 -262
  1094. package/typedoc/types/types.transcludeWithoutScope.html +0 -262
  1095. package/typedoc/variables/core_di_injector.path.html +0 -266
@@ -0,0 +1,2461 @@
1
+ <!doctype html>
2
+ <html class="default" lang="en" data-base="../">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="x-ua-compatible" content="IE=edge" />
6
+ <title>StateDeclaration | AngularTS</title>
7
+ <meta name="description" content="Documentation for AngularTS" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
9
+ <link rel="stylesheet" href="../assets/style.css" />
10
+ <link rel="stylesheet" href="../assets/highlight.css" />
11
+ <script defer src="../assets/main.js"></script>
12
+ <script async src="../assets/icons.js" id="tsd-icons-script"></script>
13
+ <script async src="../assets/search.js" id="tsd-search-script"></script>
14
+ <script async src="../assets/navigation.js" id="tsd-nav-script"></script>
15
+ <script
16
+ async
17
+ src="../assets/hierarchy.js"
18
+ id="tsd-hierarchy-script"
19
+ ></script>
20
+ </head>
21
+ <body>
22
+ <script>
23
+ document.documentElement.dataset.theme =
24
+ localStorage.getItem("tsd-theme") || "os";
25
+ document.body.style.display = "none";
26
+ setTimeout(
27
+ () =>
28
+ window.app
29
+ ? app.showPage()
30
+ : document.body.style.removeProperty("display"),
31
+ 500,
32
+ );
33
+ </script>
34
+ <header class="tsd-page-toolbar">
35
+ <div class="tsd-toolbar-contents container">
36
+ <a href="../index.html" class="title">AngularTS</a>
37
+ <div id="tsd-toolbar-links"></div>
38
+ <button id="tsd-search-trigger" class="tsd-widget" aria-label="Search">
39
+ <svg
40
+ width="16"
41
+ height="16"
42
+ viewBox="0 0 16 16"
43
+ fill="none"
44
+ aria-hidden="true"
45
+ >
46
+ <use href="../assets/icons.svg#icon-search"></use>
47
+ </svg>
48
+ </button>
49
+ <dialog id="tsd-search" aria-label="Search">
50
+ <input
51
+ role="combobox"
52
+ id="tsd-search-input"
53
+ aria-controls="tsd-search-results"
54
+ aria-autocomplete="list"
55
+ aria-expanded="true"
56
+ autocapitalize="off"
57
+ autocomplete="off"
58
+ placeholder="Search the docs"
59
+ maxlength="100"
60
+ />
61
+ <ul role="listbox" id="tsd-search-results"></ul>
62
+ <div id="tsd-search-status" aria-live="polite" aria-atomic="true">
63
+ <div>Preparing search index...</div>
64
+ </div>
65
+ </dialog>
66
+ <a
67
+ href="#"
68
+ class="tsd-widget menu"
69
+ id="tsd-toolbar-menu-trigger"
70
+ data-toggle="menu"
71
+ aria-label="Menu"
72
+ ><svg
73
+ width="16"
74
+ height="16"
75
+ viewBox="0 0 16 16"
76
+ fill="none"
77
+ aria-hidden="true"
78
+ >
79
+ <use href="../assets/icons.svg#icon-menu"></use></svg
80
+ ></a>
81
+ </div>
82
+ </header>
83
+ <div class="container container-main">
84
+ <div class="col-content">
85
+ <div class="tsd-page-title">
86
+ <ul class="tsd-breadcrumb" aria-label="Breadcrumb">
87
+ <li>
88
+ <a href="../modules/router_state_interface.html"
89
+ >router/state/interface</a
90
+ >
91
+ </li>
92
+ <li><a href="" aria-current="page">StateDeclaration</a></li>
93
+ </ul>
94
+ <h1>Interface StateDeclaration</h1>
95
+ </div>
96
+ <section class="tsd-panel tsd-comment">
97
+ <div class="tsd-comment tsd-typography">
98
+ <p>
99
+ The StateDeclaration object is used to define a state or nested
100
+ state.
101
+ </p>
102
+ <p>
103
+ Note: Each implementation of UI-Router (for a specific framework)
104
+ extends this interface as necessary.
105
+ </p>
106
+ <h4 id="example" class="tsd-anchor-link">
107
+ Example:<a
108
+ href="#example"
109
+ aria-label="Permalink"
110
+ class="tsd-anchor-icon"
111
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
112
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
113
+ ></a>
114
+ </h4>
115
+ <pre><code class="js"><span class="hl-9">// StateDeclaration object</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">foldersState</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;folders&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">url:</span><span class="hl-1"> </span><span class="hl-2">&#39;/folders&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">component:</span><span class="hl-1"> </span><span class="hl-10">FoldersComponent</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">resolve:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">allfolders</span><span class="hl-10">:</span><span class="hl-1"> </span><span class="hl-11">function</span><span class="hl-1">(</span><span class="hl-10">FolderService</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">FolderService</span><span class="hl-1">.</span><span class="hl-0">list</span><span class="hl-1">();</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> },</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-10">registry</span><span class="hl-1">.</span><span class="hl-0">register</span><span class="hl-1">(</span><span class="hl-10">foldersState</span><span class="hl-1">);</span>
116
+ </code><button type="button">Copy</button></pre>
117
+ </div>
118
+ <div class="tsd-comment tsd-typography"></div>
119
+ </section>
120
+ <div class="tsd-signature">
121
+ <span class="tsd-signature-keyword">interface</span>
122
+ <span class="tsd-kind-interface">StateDeclaration</span>
123
+ <span class="tsd-signature-symbol">{</span><br />    <a
124
+ class="tsd-kind-property"
125
+ href="#state"
126
+ >$$state</a
127
+ ><span class="tsd-signature-symbol">?:</span>
128
+ <span class="tsd-signature-symbol">()</span>
129
+ <span class="tsd-signature-symbol">=&gt;</span>
130
+ <a
131
+ href="../classes/router_state_state-object.StateObject.html"
132
+ class="tsd-signature-type tsd-kind-class"
133
+ >StateObject</a
134
+ ><span class="tsd-signature-symbol">;</span><br />    <a
135
+ class="tsd-kind-property"
136
+ href="#abstract"
137
+ >abstract</a
138
+ ><span class="tsd-signature-symbol">?:</span>
139
+ <span class="tsd-signature-type">boolean</span
140
+ ><span class="tsd-signature-symbol">;</span><br />    <a
141
+ class="tsd-kind-property"
142
+ href="#data"
143
+ >data</a
144
+ ><span class="tsd-signature-symbol">?:</span>
145
+ <span class="tsd-signature-type">any</span
146
+ ><span class="tsd-signature-symbol">;</span><br />    <a
147
+ class="tsd-kind-property"
148
+ href="#dynamic"
149
+ >dynamic</a
150
+ ><span class="tsd-signature-symbol">?:</span>
151
+ <span class="tsd-signature-type">boolean</span
152
+ ><span class="tsd-signature-symbol">;</span><br />    <a
153
+ class="tsd-kind-property"
154
+ href="#lazyload"
155
+ >lazyLoad</a
156
+ ><span class="tsd-signature-symbol">?:</span>
157
+ <span class="tsd-signature-symbol">(</span><br />        <span
158
+ class="tsd-kind-parameter"
159
+ >transition</span
160
+ ><span class="tsd-signature-symbol">:</span>
161
+ <a
162
+ href="../classes/router_transition_transition.Transition.html"
163
+ class="tsd-signature-type tsd-kind-class"
164
+ >Transition</a
165
+ ><span class="tsd-signature-symbol">,</span><br />        <span
166
+ class="tsd-kind-parameter"
167
+ >state</span
168
+ ><span class="tsd-signature-symbol">:</span>
169
+ <a href="" class="tsd-signature-type tsd-kind-interface"
170
+ >StateDeclaration</a
171
+ ><span class="tsd-signature-symbol">,</span><br />    <span
172
+ class="tsd-signature-symbol"
173
+ >)</span
174
+ >
175
+ <span class="tsd-signature-symbol">=&gt;</span>
176
+ <span class="tsd-signature-type">Promise</span
177
+ ><span class="tsd-signature-symbol">&lt;</span
178
+ ><a
179
+ href="router_state_interface.LazyLoadResult.html"
180
+ class="tsd-signature-type tsd-kind-interface"
181
+ >LazyLoadResult</a
182
+ ><span class="tsd-signature-symbol">&gt;</span
183
+ ><span class="tsd-signature-symbol">;</span><br />    <a
184
+ class="tsd-kind-property"
185
+ href="#name"
186
+ >name</a
187
+ ><span class="tsd-signature-symbol">?:</span>
188
+ <span class="tsd-signature-type">string</span
189
+ ><span class="tsd-signature-symbol">;</span><br />    <a
190
+ class="tsd-kind-property"
191
+ href="#onenter"
192
+ >onEnter</a
193
+ ><span class="tsd-signature-symbol">?:</span>
194
+ <a
195
+ href="../types/interface.Injectable.html"
196
+ class="tsd-signature-type tsd-kind-type-alias"
197
+ >Injectable</a
198
+ >
199
+ <span class="tsd-signature-symbol">|</span>
200
+ <a
201
+ href="router_transition_interface.TransitionStateHookFn.html"
202
+ class="tsd-signature-type tsd-kind-interface"
203
+ >TransitionStateHookFn</a
204
+ ><span class="tsd-signature-symbol">;</span><br />    <a
205
+ class="tsd-kind-property"
206
+ href="#onexit"
207
+ >onExit</a
208
+ ><span class="tsd-signature-symbol">?:</span>
209
+ <a
210
+ href="../types/interface.Injectable.html"
211
+ class="tsd-signature-type tsd-kind-type-alias"
212
+ >Injectable</a
213
+ >
214
+ <span class="tsd-signature-symbol">|</span>
215
+ <a
216
+ href="router_transition_interface.TransitionStateHookFn.html"
217
+ class="tsd-signature-type tsd-kind-interface"
218
+ >TransitionStateHookFn</a
219
+ ><span class="tsd-signature-symbol">;</span><br />    <a
220
+ class="tsd-kind-property"
221
+ href="#onretain"
222
+ >onRetain</a
223
+ ><span class="tsd-signature-symbol">?:</span>
224
+ <a
225
+ href="../types/interface.Injectable.html"
226
+ class="tsd-signature-type tsd-kind-type-alias"
227
+ >Injectable</a
228
+ >
229
+ <span class="tsd-signature-symbol">|</span>
230
+ <a
231
+ href="router_transition_interface.TransitionStateHookFn.html"
232
+ class="tsd-signature-type tsd-kind-interface"
233
+ >TransitionStateHookFn</a
234
+ ><span class="tsd-signature-symbol">;</span><br />    <a
235
+ class="tsd-kind-property"
236
+ href="#params"
237
+ >params</a
238
+ ><span class="tsd-signature-symbol">?:</span>
239
+ <span class="tsd-signature-symbol">{</span>
240
+ <span class="tsd-signature-symbol">[</span
241
+ ><span class="tsd-kind-index-signature">key</span
242
+ ><span class="tsd-signature-symbol">:</span>
243
+ <span class="tsd-signature-type">string</span
244
+ ><span class="tsd-signature-symbol">]:</span>
245
+ <span class="tsd-signature-type">any</span>
246
+ <span class="tsd-signature-symbol">}</span
247
+ ><span class="tsd-signature-symbol">;</span><br />    <a
248
+ class="tsd-kind-property"
249
+ href="#parent"
250
+ >parent</a
251
+ ><span class="tsd-signature-symbol">?:</span>
252
+ <span class="tsd-signature-type">string</span>
253
+ <span class="tsd-signature-symbol">|</span>
254
+ <a href="" class="tsd-signature-type tsd-kind-interface"
255
+ >StateDeclaration</a
256
+ ><span class="tsd-signature-symbol">;</span><br />    <a
257
+ class="tsd-kind-property"
258
+ href="#redirectto"
259
+ >redirectTo</a
260
+ ><span class="tsd-signature-symbol">?:</span><br />        <span
261
+ class="tsd-signature-symbol"
262
+ >|</span
263
+ >
264
+ <a
265
+ href="../types/router_state_interface.RedirectToResult.html"
266
+ class="tsd-signature-type tsd-kind-type-alias"
267
+ >RedirectToResult</a
268
+ ><br />        <span class="tsd-signature-symbol">|</span> (<span
269
+ class="tsd-signature-symbol"
270
+ >(</span
271
+ ><span class="tsd-kind-parameter">transition</span
272
+ ><span class="tsd-signature-symbol">:</span>
273
+ <a
274
+ href="../classes/router_transition_transition.Transition.html"
275
+ class="tsd-signature-type tsd-kind-class"
276
+ >Transition</a
277
+ ><span class="tsd-signature-symbol">)</span>
278
+ <span class="tsd-signature-symbol">=&gt;</span>
279
+ <a
280
+ href="../types/router_state_interface.RedirectToResult.html"
281
+ class="tsd-signature-type tsd-kind-type-alias"
282
+ >RedirectToResult</a
283
+ >)<br />        <span class="tsd-signature-symbol">|</span> (<span
284
+ class="tsd-signature-symbol"
285
+ >(</span
286
+ ><span class="tsd-kind-parameter">transition</span
287
+ ><span class="tsd-signature-symbol">:</span>
288
+ <a
289
+ href="../classes/router_transition_transition.Transition.html"
290
+ class="tsd-signature-type tsd-kind-class"
291
+ >Transition</a
292
+ ><span class="tsd-signature-symbol">)</span>
293
+ <span class="tsd-signature-symbol">=&gt;</span>
294
+ <span class="tsd-signature-type">Promise</span
295
+ ><span class="tsd-signature-symbol">&lt;</span
296
+ ><a
297
+ href="../types/router_state_interface.RedirectToResult.html"
298
+ class="tsd-signature-type tsd-kind-type-alias"
299
+ >RedirectToResult</a
300
+ ><span class="tsd-signature-symbol">&gt;</span>)<span
301
+ class="tsd-signature-symbol"
302
+ >;</span
303
+ ><br />    <a class="tsd-kind-property" href="#reloadonsearch"
304
+ >reloadOnSearch</a
305
+ ><span class="tsd-signature-symbol">?:</span>
306
+ <span class="tsd-signature-type">boolean</span
307
+ ><span class="tsd-signature-symbol">;</span><br />    <a
308
+ class="tsd-kind-property"
309
+ href="#resolve"
310
+ >resolve</a
311
+ ><span class="tsd-signature-symbol">?:</span>
312
+ <span class="tsd-signature-symbol">{</span>
313
+ <span class="tsd-signature-symbol">[</span
314
+ ><span class="tsd-kind-index-signature">key</span
315
+ ><span class="tsd-signature-symbol">:</span>
316
+ <span class="tsd-signature-type">string</span
317
+ ><span class="tsd-signature-symbol">]:</span>
318
+ <a
319
+ href="../types/interface.Injectable.html"
320
+ class="tsd-signature-type tsd-kind-type-alias"
321
+ >Injectable</a
322
+ >
323
+ <span class="tsd-signature-symbol">}</span>
324
+ <span class="tsd-signature-symbol">|</span>
325
+ <a
326
+ href="../types/router_state_interface.ResolveTypes.html"
327
+ class="tsd-signature-type tsd-kind-type-alias"
328
+ >ResolveTypes</a
329
+ ><span class="tsd-signature-symbol">[]</span
330
+ ><span class="tsd-signature-symbol">;</span><br />    <a
331
+ class="tsd-kind-property"
332
+ href="#resolvepolicy"
333
+ >resolvePolicy</a
334
+ ><span class="tsd-signature-symbol">?:</span>
335
+ <a
336
+ href="router_resolve_interface.ResolvePolicy.html"
337
+ class="tsd-signature-type tsd-kind-interface"
338
+ >ResolvePolicy</a
339
+ ><span class="tsd-signature-symbol">;</span><br />    <a
340
+ class="tsd-kind-property"
341
+ href="#url"
342
+ >url</a
343
+ ><span class="tsd-signature-symbol">?:</span>
344
+ <span class="tsd-signature-type">string</span
345
+ ><span class="tsd-signature-symbol">;</span><br />    <a
346
+ class="tsd-kind-property"
347
+ href="#views"
348
+ >views</a
349
+ ><span class="tsd-signature-symbol">?:</span>
350
+ <span class="tsd-signature-symbol">{</span>
351
+ <span class="tsd-signature-symbol">[</span
352
+ ><span class="tsd-kind-index-signature">key</span
353
+ ><span class="tsd-signature-symbol">:</span>
354
+ <span class="tsd-signature-type">string</span
355
+ ><span class="tsd-signature-symbol">]:</span>
356
+ <a
357
+ href="router_state_interface.ViewDeclaration.html"
358
+ class="tsd-signature-type tsd-kind-interface"
359
+ >ViewDeclaration</a
360
+ >
361
+ <span class="tsd-signature-symbol">}</span
362
+ ><span class="tsd-signature-symbol">;</span><br /><span
363
+ class="tsd-signature-symbol"
364
+ >}</span
365
+ >
366
+ </div>
367
+ <section class="tsd-panel-group tsd-index-group">
368
+ <section class="tsd-panel tsd-index-panel">
369
+ <details class="tsd-index-content tsd-accordion" open>
370
+ <summary class="tsd-accordion-summary tsd-index-summary">
371
+ <svg
372
+ width="20"
373
+ height="20"
374
+ viewBox="0 0 24 24"
375
+ fill="none"
376
+ aria-hidden="true"
377
+ >
378
+ <use href="../assets/icons.svg#icon-chevronDown"></use>
379
+ </svg>
380
+ <h5 class="tsd-index-heading uppercase">Index</h5>
381
+ </summary>
382
+ <div class="tsd-accordion-details">
383
+ <section class="tsd-index-section">
384
+ <h3 class="tsd-index-heading">Properties</h3>
385
+ <div class="tsd-index-list">
386
+ <a href="#state" class="tsd-index-link"
387
+ ><svg
388
+ class="tsd-kind-icon"
389
+ viewBox="0 0 24 24"
390
+ aria-label="Property"
391
+ >
392
+ <use href="../assets/icons.svg#icon-1024"></use></svg
393
+ ><span>$$state?</span></a
394
+ >
395
+ <a href="#abstract" class="tsd-index-link"
396
+ ><svg
397
+ class="tsd-kind-icon"
398
+ viewBox="0 0 24 24"
399
+ aria-label="Property"
400
+ >
401
+ <use href="../assets/icons.svg#icon-1024"></use></svg
402
+ ><span>abstract?</span></a
403
+ >
404
+ <a href="#data" class="tsd-index-link"
405
+ ><svg
406
+ class="tsd-kind-icon"
407
+ viewBox="0 0 24 24"
408
+ aria-label="Property"
409
+ >
410
+ <use href="../assets/icons.svg#icon-1024"></use></svg
411
+ ><span>data?</span></a
412
+ >
413
+ <a href="#dynamic" class="tsd-index-link"
414
+ ><svg
415
+ class="tsd-kind-icon"
416
+ viewBox="0 0 24 24"
417
+ aria-label="Property"
418
+ >
419
+ <use href="../assets/icons.svg#icon-1024"></use></svg
420
+ ><span>dynamic?</span></a
421
+ >
422
+ <a href="#lazyload" class="tsd-index-link"
423
+ ><svg
424
+ class="tsd-kind-icon"
425
+ viewBox="0 0 24 24"
426
+ aria-label="Property"
427
+ >
428
+ <use href="../assets/icons.svg#icon-1024"></use></svg
429
+ ><span>lazy<wbr />Load?</span></a
430
+ >
431
+ <a href="#name" class="tsd-index-link"
432
+ ><svg
433
+ class="tsd-kind-icon"
434
+ viewBox="0 0 24 24"
435
+ aria-label="Property"
436
+ >
437
+ <use href="../assets/icons.svg#icon-1024"></use></svg
438
+ ><span>name?</span></a
439
+ >
440
+ <a href="#onenter" class="tsd-index-link"
441
+ ><svg
442
+ class="tsd-kind-icon"
443
+ viewBox="0 0 24 24"
444
+ aria-label="Property"
445
+ >
446
+ <use href="../assets/icons.svg#icon-1024"></use></svg
447
+ ><span>on<wbr />Enter?</span></a
448
+ >
449
+ <a href="#onexit" class="tsd-index-link"
450
+ ><svg
451
+ class="tsd-kind-icon"
452
+ viewBox="0 0 24 24"
453
+ aria-label="Property"
454
+ >
455
+ <use href="../assets/icons.svg#icon-1024"></use></svg
456
+ ><span>on<wbr />Exit?</span></a
457
+ >
458
+ <a href="#onretain" class="tsd-index-link"
459
+ ><svg
460
+ class="tsd-kind-icon"
461
+ viewBox="0 0 24 24"
462
+ aria-label="Property"
463
+ >
464
+ <use href="../assets/icons.svg#icon-1024"></use></svg
465
+ ><span>on<wbr />Retain?</span></a
466
+ >
467
+ <a href="#params" class="tsd-index-link"
468
+ ><svg
469
+ class="tsd-kind-icon"
470
+ viewBox="0 0 24 24"
471
+ aria-label="Property"
472
+ >
473
+ <use href="../assets/icons.svg#icon-1024"></use></svg
474
+ ><span>params?</span></a
475
+ >
476
+ <a href="#parent" class="tsd-index-link"
477
+ ><svg
478
+ class="tsd-kind-icon"
479
+ viewBox="0 0 24 24"
480
+ aria-label="Property"
481
+ >
482
+ <use href="../assets/icons.svg#icon-1024"></use></svg
483
+ ><span>parent?</span></a
484
+ >
485
+ <a href="#redirectto" class="tsd-index-link"
486
+ ><svg
487
+ class="tsd-kind-icon"
488
+ viewBox="0 0 24 24"
489
+ aria-label="Property"
490
+ >
491
+ <use href="../assets/icons.svg#icon-1024"></use></svg
492
+ ><span>redirect<wbr />To?</span></a
493
+ >
494
+ <a href="#reloadonsearch" class="tsd-index-link deprecated"
495
+ ><svg
496
+ class="tsd-kind-icon"
497
+ viewBox="0 0 24 24"
498
+ aria-label="Property"
499
+ >
500
+ <use href="../assets/icons.svg#icon-1024"></use></svg
501
+ ><span>reload<wbr />On<wbr />Search?</span></a
502
+ >
503
+ <a href="#resolve" class="tsd-index-link"
504
+ ><svg
505
+ class="tsd-kind-icon"
506
+ viewBox="0 0 24 24"
507
+ aria-label="Property"
508
+ >
509
+ <use href="../assets/icons.svg#icon-1024"></use></svg
510
+ ><span>resolve?</span></a
511
+ >
512
+ <a href="#resolvepolicy" class="tsd-index-link"
513
+ ><svg
514
+ class="tsd-kind-icon"
515
+ viewBox="0 0 24 24"
516
+ aria-label="Property"
517
+ >
518
+ <use href="../assets/icons.svg#icon-1024"></use></svg
519
+ ><span>resolve<wbr />Policy?</span></a
520
+ >
521
+ <a href="#url" class="tsd-index-link"
522
+ ><svg
523
+ class="tsd-kind-icon"
524
+ viewBox="0 0 24 24"
525
+ aria-label="Property"
526
+ >
527
+ <use href="../assets/icons.svg#icon-1024"></use></svg
528
+ ><span>url?</span></a
529
+ >
530
+ <a href="#views" class="tsd-index-link"
531
+ ><svg
532
+ class="tsd-kind-icon"
533
+ viewBox="0 0 24 24"
534
+ aria-label="Property"
535
+ >
536
+ <use href="../assets/icons.svg#icon-1024"></use></svg
537
+ ><span>views?</span></a
538
+ >
539
+ </div>
540
+ </section>
541
+ </div>
542
+ </details>
543
+ </section>
544
+ </section>
545
+ <details class="tsd-panel-group tsd-member-group tsd-accordion" open>
546
+ <summary class="tsd-accordion-summary" data-key="section-Properties">
547
+ <svg
548
+ width="20"
549
+ height="20"
550
+ viewBox="0 0 24 24"
551
+ fill="none"
552
+ aria-hidden="true"
553
+ >
554
+ <use href="../assets/icons.svg#icon-chevronDown"></use>
555
+ </svg>
556
+ <h2>Properties</h2>
557
+ </summary>
558
+ <section>
559
+ <section class="tsd-panel tsd-member">
560
+ <h3 class="tsd-anchor-link" id="state">
561
+ <code class="tsd-tag">Optional</code>
562
+ <code class="tsd-tag">Internal</code><span>$$state</span
563
+ ><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"
564
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
565
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
566
+ ></a>
567
+ </h3>
568
+ <div class="tsd-signature">
569
+ <span class="tsd-kind-property">$$state</span
570
+ ><span class="tsd-signature-symbol">?:</span>
571
+ <span class="tsd-signature-symbol">()</span>
572
+ <span class="tsd-signature-symbol">=&gt;</span>
573
+ <a
574
+ href="../classes/router_state_state-object.StateObject.html"
575
+ class="tsd-signature-type tsd-kind-class"
576
+ >StateObject</a
577
+ >
578
+ </div>
579
+ <div class="tsd-comment tsd-typography">
580
+ <p>Gets the internal State object API</p>
581
+ <p>Gets the <em>internal API</em> for a registered state.</p>
582
+ <p>
583
+ Note: the internal [[StateObject]] API is subject to change
584
+ without notice
585
+ </p>
586
+ </div>
587
+ <div class="tsd-comment tsd-typography"></div>
588
+ </section>
589
+ <section class="tsd-panel tsd-member">
590
+ <h3 class="tsd-anchor-link" id="abstract">
591
+ <code class="tsd-tag">Optional</code><span>abstract</span
592
+ ><a
593
+ href="#abstract"
594
+ aria-label="Permalink"
595
+ class="tsd-anchor-icon"
596
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
597
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
598
+ ></a>
599
+ </h3>
600
+ <div class="tsd-signature">
601
+ <span class="tsd-kind-property">abstract</span
602
+ ><span class="tsd-signature-symbol">?:</span>
603
+ <span class="tsd-signature-type">boolean</span>
604
+ </div>
605
+ <div class="tsd-comment tsd-typography">
606
+ <p>Abstract state indicator</p>
607
+ <p>
608
+ An abstract state can never be directly activated. Use an
609
+ abstract state to provide inherited properties (url, resolve,
610
+ data, etc) to children states.
611
+ </p>
612
+ </div>
613
+ <div class="tsd-comment tsd-typography"></div>
614
+ </section>
615
+ <section class="tsd-panel tsd-member">
616
+ <h3 class="tsd-anchor-link" id="data">
617
+ <code class="tsd-tag">Optional</code><span>data</span
618
+ ><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"
619
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
620
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
621
+ ></a>
622
+ </h3>
623
+ <div class="tsd-signature">
624
+ <span class="tsd-kind-property">data</span
625
+ ><span class="tsd-signature-symbol">?:</span>
626
+ <span class="tsd-signature-type">any</span>
627
+ </div>
628
+ <div class="tsd-comment tsd-typography">
629
+ <p>An inherited property to store state data</p>
630
+ <p>
631
+ This is a spot for you to store inherited state metadata.
632
+ Child states' <code>data</code> object will prototypally
633
+ inherit from their parent state.
634
+ </p>
635
+ <p>
636
+ This is a good spot to put metadata such as
637
+ <code>requiresAuth</code>.
638
+ </p>
639
+ <p>
640
+ Note: because prototypal inheritance is used, changes to
641
+ parent <code>data</code> objects reflect in the child
642
+ <code>data</code> objects. Care should be taken if you are
643
+ using <code>hasOwnProperty</code> on the
644
+ <code>data</code> object. Properties from parent objects will
645
+ return false for <code>hasOwnProperty</code>.
646
+ </p>
647
+ </div>
648
+ <div class="tsd-comment tsd-typography"></div>
649
+ </section>
650
+ <section class="tsd-panel tsd-member">
651
+ <h3 class="tsd-anchor-link" id="dynamic">
652
+ <code class="tsd-tag">Optional</code><span>dynamic</span
653
+ ><a
654
+ href="#dynamic"
655
+ aria-label="Permalink"
656
+ class="tsd-anchor-icon"
657
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
658
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
659
+ ></a>
660
+ </h3>
661
+ <div class="tsd-signature">
662
+ <span class="tsd-kind-property">dynamic</span
663
+ ><span class="tsd-signature-symbol">?:</span>
664
+ <span class="tsd-signature-type">boolean</span>
665
+ </div>
666
+ <div class="tsd-comment tsd-typography">
667
+ <p>Marks all the state's parameters as <code>dynamic</code>.</p>
668
+ <p>
669
+ All parameters on the state will use this value for
670
+ <code>dynamic</code> as a default. Individual parameters may
671
+ override this default using [[ParamDeclaration.dynamic]] in
672
+ the [[params]] block.
673
+ </p>
674
+ <p>
675
+ Note: this value overrides the <code>dynamic</code> value on a
676
+ custom parameter type ([[ParamTypeDefinition.dynamic]]).
677
+ </p>
678
+ </div>
679
+ <div class="tsd-comment tsd-typography"></div>
680
+ </section>
681
+ <section class="tsd-panel tsd-member">
682
+ <h3 class="tsd-anchor-link" id="lazyload">
683
+ <code class="tsd-tag">Optional</code><span>lazy<wbr />Load</span
684
+ ><a
685
+ href="#lazyload"
686
+ aria-label="Permalink"
687
+ class="tsd-anchor-icon"
688
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
689
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
690
+ ></a>
691
+ </h3>
692
+ <div class="tsd-signature">
693
+ <span class="tsd-kind-property">lazyLoad</span
694
+ ><span class="tsd-signature-symbol">?:</span>
695
+ <span class="tsd-signature-symbol">(</span><br />    <span
696
+ class="tsd-kind-parameter"
697
+ >transition</span
698
+ ><span class="tsd-signature-symbol">:</span>
699
+ <a
700
+ href="../classes/router_transition_transition.Transition.html"
701
+ class="tsd-signature-type tsd-kind-class"
702
+ >Transition</a
703
+ ><span class="tsd-signature-symbol">,</span><br />    <span
704
+ class="tsd-kind-parameter"
705
+ >state</span
706
+ ><span class="tsd-signature-symbol">:</span>
707
+ <a href="" class="tsd-signature-type tsd-kind-interface"
708
+ >StateDeclaration</a
709
+ ><span class="tsd-signature-symbol">,</span><br /><span
710
+ class="tsd-signature-symbol"
711
+ >)</span
712
+ >
713
+ <span class="tsd-signature-symbol">=&gt;</span>
714
+ <span class="tsd-signature-type">Promise</span
715
+ ><span class="tsd-signature-symbol">&lt;</span
716
+ ><a
717
+ href="router_state_interface.LazyLoadResult.html"
718
+ class="tsd-signature-type tsd-kind-interface"
719
+ >LazyLoadResult</a
720
+ ><span class="tsd-signature-symbol">&gt;</span>
721
+ </div>
722
+ <div class="tsd-comment tsd-typography">
723
+ <p>A function used to lazy load code</p>
724
+ <p>
725
+ The <code>lazyLoad</code> function is invoked before the state
726
+ is activated. The transition waits while the code is loading.
727
+ </p>
728
+ <p>
729
+ The function should load the code that is required to activate
730
+ the state. For example, it may load a component class, or some
731
+ service code. The function must return a promise which
732
+ resolves when loading is complete.
733
+ </p>
734
+ <p>
735
+ For example, this code lazy loads a service before the
736
+ <code>abc</code> state is activated:
737
+ </p>
738
+ <pre><code><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">&#39;abc&#39;</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">lazyLoad</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">transition</span><span class="hl-1">, </span><span class="hl-10">state</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-11">import</span><span class="hl-1">(</span><span class="hl-2">&#39;./abcService&#39;</span><span class="hl-1">)</span><br/><span class="hl-1">}</span>
739
+ </code><button>Copy</button></pre>
740
+
741
+ <p>
742
+ The <code>abcService</code> file is imported and loaded (it is
743
+ assumed that the <code>abcService</code> file knows how to
744
+ register itself as a service).
745
+ </p>
746
+ <h4 id="lifecycle" class="tsd-anchor-link">
747
+ Lifecycle<a
748
+ href="#lifecycle"
749
+ aria-label="Permalink"
750
+ class="tsd-anchor-icon"
751
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
752
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
753
+ ></a>
754
+ </h4>
755
+ <ul>
756
+ <li>
757
+ <p>
758
+ The <code>lazyLoad</code> function is invoked if a
759
+ transition is going to enter the state.
760
+ </p>
761
+ </li>
762
+ <li>
763
+ <p>
764
+ The function is invoked before the transition starts
765
+ (using an <code>onBefore</code> transition hook).
766
+ </p>
767
+ </li>
768
+ <li>
769
+ <p>
770
+ The function is only invoked once; while the
771
+ <code>lazyLoad</code> function is loading code, it will
772
+ not be invoked again. For example, if the user double
773
+ clicks a ui-sref, <code>lazyLoad</code> is only invoked
774
+ once even though there were two transition attempts.
775
+ Instead, the existing lazy load promise is re-used.
776
+ </p>
777
+ </li>
778
+ <li>
779
+ <p>
780
+ When the promise resolves successfully, the
781
+ <code>lazyLoad</code> property is deleted from the state
782
+ declaration.
783
+ </p>
784
+ </li>
785
+ <li>
786
+ <p>
787
+ If the promise resolves to a [[LazyLoadResult]] which has
788
+ an array of <code>states</code>, those states are
789
+ registered.
790
+ </p>
791
+ </li>
792
+ <li>
793
+ <p>
794
+ The original transition is retried (this time without the
795
+ <code>lazyLoad</code> property present).
796
+ </p>
797
+ </li>
798
+ <li>
799
+ <p>
800
+ If the <code>lazyLoad</code> function fails, then the
801
+ transition also fails. The failed transition (and the
802
+ <code>lazyLoad</code> function) could potentially be
803
+ retried by the user.
804
+ </p>
805
+ </li>
806
+ </ul>
807
+ <h3
808
+ id="lazy-loading-state-definitions-future-states"
809
+ class="tsd-anchor-link"
810
+ >
811
+ Lazy loading state definitions (Future States)<a
812
+ href="#lazy-loading-state-definitions-future-states"
813
+ aria-label="Permalink"
814
+ class="tsd-anchor-icon"
815
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
816
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
817
+ ></a>
818
+ </h3>
819
+ <p>
820
+ State definitions can also be lazy loaded. This might be
821
+ desirable when building large, multi-module applications.
822
+ </p>
823
+ <p>
824
+ To lazy load state definitions, a Future State should be
825
+ registered as a placeholder. When the state definitions are
826
+ lazy loaded, the Future State is deregistered.
827
+ </p>
828
+ <p>
829
+ A future state can act as a placeholder for a single state, or
830
+ for an entire module of states and substates. A future state
831
+ should have:
832
+ </p>
833
+ <ul>
834
+ <li>
835
+ A <code>name</code> which ends in <code>.**</code>. A future
836
+ state's <code>name</code> property acts as a wildcard
837
+ [[Glob]]. It matches any state name that starts with the
838
+ <code>name</code> (including child states that are not yet
839
+ loaded).
840
+ </li>
841
+ <li>
842
+ A <code>url</code> prefix. A future state's
843
+ <code>url</code> property acts as a wildcard. UI-Router
844
+ matches all paths that begin with the <code>url</code>. It
845
+ effectively appends <code>.*</code> to the internal regular
846
+ expression. When the prefix matches, the future state will
847
+ begin loading.
848
+ </li>
849
+ <li>
850
+ A <code>lazyLoad</code> function. This function should
851
+ should return a Promise to lazy load the code for one or
852
+ more [[StateDeclaration]] objects. It should return a
853
+ [[LazyLoadResult]]. Generally, one of the lazy loaded states
854
+ should have the same name as the future state. The new state
855
+ will then
856
+ <strong>replace the future state placeholder</strong> in the
857
+ registry.
858
+ </li>
859
+ </ul>
860
+ <h3 id="additional-resources" class="tsd-anchor-link">
861
+ Additional resources<a
862
+ href="#additional-resources"
863
+ aria-label="Permalink"
864
+ class="tsd-anchor-icon"
865
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
866
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
867
+ ></a>
868
+ </h3>
869
+ <p>
870
+ For in depth information on lazy loading and Future States,
871
+ see the
872
+ <a href="https://ui-router.github.io/guides/lazyload"
873
+ >Lazy Loading Guide</a
874
+ >.
875
+ </p>
876
+ <h4 id="example-statesjs" class="tsd-anchor-link">
877
+ Example: states.js<a
878
+ href="#example-statesjs"
879
+ aria-label="Permalink"
880
+ class="tsd-anchor-icon"
881
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
882
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
883
+ ></a>
884
+ </h4>
885
+ <pre><code class="js"><br/><span class="hl-9">// This child state is a lazy loaded future state</span><br/><span class="hl-9">// The `lazyLoad` function loads the final state definition</span><br/><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-15">name</span><span class="hl-1">: </span><span class="hl-2">&#39;parent.**&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">&#39;/parent&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">lazyLoad</span><span class="hl-1">: () </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-11">import</span><span class="hl-1">(</span><span class="hl-2">&#39;./lazy.states.js&#39;</span><span class="hl-1">)</span><br/><span class="hl-1">}</span>
886
+ </code><button type="button">Copy</button></pre>
887
+
888
+ <h4 id="example-lazystatesjs" class="tsd-anchor-link">
889
+ Example: lazy.states.js<a
890
+ href="#example-lazystatesjs"
891
+ aria-label="Permalink"
892
+ class="tsd-anchor-icon"
893
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
894
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
895
+ ></a>
896
+ </h4>
897
+ <p>This file is lazy loaded. It exports an array of states.</p>
898
+ <pre><code class="js"><span class="hl-8">import</span><span class="hl-1"> {</span><span class="hl-10">ChildComponent</span><span class="hl-1">} </span><span class="hl-8">from</span><span class="hl-1"> </span><span class="hl-2">&quot;./child.component.js&quot;</span><span class="hl-1">;</span><br/><span class="hl-8">import</span><span class="hl-1"> {</span><span class="hl-10">ParentComponent</span><span class="hl-1">} </span><span class="hl-8">from</span><span class="hl-1"> </span><span class="hl-2">&quot;./parent.component.js&quot;</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// This fully defined state replaces the future state</span><br/><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">parentState</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-9">// the name should match the future state</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;parent&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">url:</span><span class="hl-1"> </span><span class="hl-2">&#39;/parent/:parentId&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">component:</span><span class="hl-1"> </span><span class="hl-10">ParentComponent</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">resolve:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">parentData</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">ParentService</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><br/><span class="hl-1"> </span><span class="hl-10">ParentService</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">parentId</span><span class="hl-1">)</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">childState</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;parent.child&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">url:</span><span class="hl-1"> </span><span class="hl-2">&#39;/child/:childId&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">params:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">childId:</span><span class="hl-1"> </span><span class="hl-2">&quot;default&quot;</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-10">resolve:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">childData</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">ChildService</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><br/><span class="hl-1"> </span><span class="hl-10">ChildService</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">childId</span><span class="hl-1">)</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">};</span><br/><br/><span class="hl-9">// This array of states will be registered by the lazyLoad hook</span><br/><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">lazyLoadResults</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">states:</span><span class="hl-1"> [ </span><span class="hl-10">parentState</span><span class="hl-1">, </span><span class="hl-10">childState</span><span class="hl-1"> ]</span><br/><span class="hl-1">};</span><br/><br/><span class="hl-8">export</span><span class="hl-1"> </span><span class="hl-8">default</span><span class="hl-1"> </span><span class="hl-10">lazyLoadResults</span><span class="hl-1">;</span>
899
+ </code><button type="button">Copy</button></pre>
900
+ </div>
901
+ <div class="tsd-type-declaration">
902
+ <h4>Type declaration</h4>
903
+ <ul class="tsd-parameters">
904
+ <li class="tsd-parameter-signature">
905
+ <ul class="tsd-signatures">
906
+ <li class="tsd-signature">
907
+ <span class="tsd-signature-symbol">(</span
908
+ ><span class="tsd-kind-parameter">transition</span
909
+ ><span class="tsd-signature-symbol">:</span>
910
+ <a
911
+ href="../classes/router_transition_transition.Transition.html"
912
+ class="tsd-signature-type tsd-kind-class"
913
+ >Transition</a
914
+ ><span class="tsd-signature-symbol">,</span>
915
+ <span class="tsd-kind-parameter">state</span
916
+ ><span class="tsd-signature-symbol">:</span>
917
+ <a href="" class="tsd-signature-type tsd-kind-interface"
918
+ >StateDeclaration</a
919
+ ><span class="tsd-signature-symbol">)</span
920
+ ><span class="tsd-signature-symbol">:</span>
921
+ <span class="tsd-signature-type">Promise</span
922
+ ><span class="tsd-signature-symbol">&lt;</span
923
+ ><a
924
+ href="router_state_interface.LazyLoadResult.html"
925
+ class="tsd-signature-type tsd-kind-interface"
926
+ >LazyLoadResult</a
927
+ ><span class="tsd-signature-symbol">&gt;</span>
928
+ </li>
929
+ <li class="tsd-description">
930
+ <div class="tsd-parameters">
931
+ <h4 class="tsd-parameters-title">Parameters</h4>
932
+ <ul class="tsd-parameter-list">
933
+ <li>
934
+ <span
935
+ ><span class="tsd-kind-parameter"
936
+ >transition</span
937
+ >:
938
+ <a
939
+ href="../classes/router_transition_transition.Transition.html"
940
+ class="tsd-signature-type tsd-kind-class"
941
+ >Transition</a
942
+ ></span
943
+ >
944
+ <div class="tsd-comment tsd-typography">
945
+ <p>
946
+ the [[Transition]] that is activating the
947
+ future state
948
+ </p>
949
+ </div>
950
+ <div class="tsd-comment tsd-typography"></div>
951
+ </li>
952
+ <li>
953
+ <span
954
+ ><span class="tsd-kind-parameter">state</span>:
955
+ <a
956
+ href=""
957
+ class="tsd-signature-type tsd-kind-interface"
958
+ >StateDeclaration</a
959
+ ></span
960
+ >
961
+ <div class="tsd-comment tsd-typography">
962
+ <p>
963
+ the [[StateDeclaration]] that the
964
+ <code>lazyLoad</code> function is declared on
965
+ </p>
966
+ </div>
967
+ <div class="tsd-comment tsd-typography"></div>
968
+ </li>
969
+ </ul>
970
+ </div>
971
+ <h4 class="tsd-returns-title">
972
+ Returns <span class="tsd-signature-type">Promise</span
973
+ ><span class="tsd-signature-symbol">&lt;</span
974
+ ><a
975
+ href="router_state_interface.LazyLoadResult.html"
976
+ class="tsd-signature-type tsd-kind-interface"
977
+ >LazyLoadResult</a
978
+ ><span class="tsd-signature-symbol">&gt;</span>
979
+ </h4>
980
+ <p>
981
+ a Promise to load the states. Optionally, if the
982
+ promise resolves to a [[LazyLoadResult]], the states
983
+ will be registered with the [[StateRegistry]].
984
+ </p>
985
+ <div class="tsd-comment tsd-typography"></div>
986
+ </li>
987
+ </ul>
988
+ </li>
989
+ </ul>
990
+ </div>
991
+ <div class="tsd-comment tsd-typography"></div>
992
+ </section>
993
+ <section class="tsd-panel tsd-member">
994
+ <h3 class="tsd-anchor-link" id="name">
995
+ <code class="tsd-tag">Optional</code><span>name</span
996
+ ><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"
997
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
998
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
999
+ ></a>
1000
+ </h3>
1001
+ <div class="tsd-signature">
1002
+ <span class="tsd-kind-property">name</span
1003
+ ><span class="tsd-signature-symbol">?:</span>
1004
+ <span class="tsd-signature-type">string</span>
1005
+ </div>
1006
+ <div class="tsd-comment tsd-typography">
1007
+ <p>The state name (required)</p>
1008
+ <p>
1009
+ A unique state name, e.g. <code>&quot;home&quot;</code>,
1010
+ <code>&quot;about&quot;</code>,
1011
+ <code>&quot;contacts&quot;</code>. To create a parent/child
1012
+ state use a dot, e.g. <code>&quot;about.sales&quot;</code>,
1013
+ <code>&quot;home.newest&quot;</code>.
1014
+ </p>
1015
+ <p>
1016
+ Note: [State] objects require unique names. The name is used
1017
+ like an id.
1018
+ </p>
1019
+ </div>
1020
+ <div class="tsd-comment tsd-typography"></div>
1021
+ </section>
1022
+ <section class="tsd-panel tsd-member">
1023
+ <h3 class="tsd-anchor-link" id="onenter">
1024
+ <code class="tsd-tag">Optional</code><span>on<wbr />Enter</span
1025
+ ><a
1026
+ href="#onenter"
1027
+ aria-label="Permalink"
1028
+ class="tsd-anchor-icon"
1029
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1030
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1031
+ ></a>
1032
+ </h3>
1033
+ <div class="tsd-signature">
1034
+ <span class="tsd-kind-property">onEnter</span
1035
+ ><span class="tsd-signature-symbol">?:</span>
1036
+ <a
1037
+ href="../types/interface.Injectable.html"
1038
+ class="tsd-signature-type tsd-kind-type-alias"
1039
+ >Injectable</a
1040
+ >
1041
+ <span class="tsd-signature-symbol">|</span>
1042
+ <a
1043
+ href="router_transition_interface.TransitionStateHookFn.html"
1044
+ class="tsd-signature-type tsd-kind-interface"
1045
+ >TransitionStateHookFn</a
1046
+ >
1047
+ </div>
1048
+ <div class="tsd-comment tsd-typography">
1049
+ <p>A state hook invoked when a state is being entered.</p>
1050
+ <p>
1051
+ The hook can inject global services. It can also inject
1052
+ <code>$transition$</code> or <code>$state$</code> (from the
1053
+ current transition).
1054
+ </p>
1055
+ <h3 id="example-1" class="tsd-anchor-link">
1056
+ Example:<a
1057
+ href="#example-1"
1058
+ aria-label="Permalink"
1059
+ class="tsd-anchor-icon"
1060
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1061
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1062
+ ></a>
1063
+ </h3>
1064
+ <pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;mystate&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">onEnter</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">$state$</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</span><span class="hl-1">(</span><span class="hl-10">$state$</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
1065
+ </code><button type="button">Copy</button></pre>
1066
+
1067
+ <h4 id="example-2" class="tsd-anchor-link">
1068
+ Example:`<a
1069
+ href="#example-2"
1070
+ aria-label="Permalink"
1071
+ class="tsd-anchor-icon"
1072
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1073
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1074
+ ></a>
1075
+ </h4>
1076
+ <pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;mystate&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">onEnter:</span><span class="hl-1"> [ </span><span class="hl-2">&#39;MyService&#39;</span><span class="hl-1">, </span><span class="hl-2">&#39;$transition$&#39;</span><span class="hl-1">, </span><span class="hl-2">&#39;$state$&#39;</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">$state$</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</span><span class="hl-1">(</span><span class="hl-10">$state$</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> } ]</span><br/><span class="hl-1">});</span>
1077
+ </code><button type="button">Copy</button></pre>
1078
+ </div>
1079
+ <div class="tsd-comment tsd-typography"></div>
1080
+ </section>
1081
+ <section class="tsd-panel tsd-member">
1082
+ <h3 class="tsd-anchor-link" id="onexit">
1083
+ <code class="tsd-tag">Optional</code><span>on<wbr />Exit</span
1084
+ ><a
1085
+ href="#onexit"
1086
+ aria-label="Permalink"
1087
+ class="tsd-anchor-icon"
1088
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1089
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1090
+ ></a>
1091
+ </h3>
1092
+ <div class="tsd-signature">
1093
+ <span class="tsd-kind-property">onExit</span
1094
+ ><span class="tsd-signature-symbol">?:</span>
1095
+ <a
1096
+ href="../types/interface.Injectable.html"
1097
+ class="tsd-signature-type tsd-kind-type-alias"
1098
+ >Injectable</a
1099
+ >
1100
+ <span class="tsd-signature-symbol">|</span>
1101
+ <a
1102
+ href="router_transition_interface.TransitionStateHookFn.html"
1103
+ class="tsd-signature-type tsd-kind-interface"
1104
+ >TransitionStateHookFn</a
1105
+ >
1106
+ </div>
1107
+ <div class="tsd-comment tsd-typography">
1108
+ <p>A state hook invoked when a state is being exited.</p>
1109
+ <p>
1110
+ The hook can inject global services. It can also inject
1111
+ <code>$transition$</code> or <code>$state$</code> (from the
1112
+ current transition).
1113
+ </p>
1114
+ <h3 id="example-3" class="tsd-anchor-link">
1115
+ Example:<a
1116
+ href="#example-3"
1117
+ aria-label="Permalink"
1118
+ class="tsd-anchor-icon"
1119
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1120
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1121
+ ></a>
1122
+ </h3>
1123
+ <pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;mystate&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">onExit</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">$state$</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</span><span class="hl-1">(</span><span class="hl-10">$state$</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
1124
+ </code><button type="button">Copy</button></pre>
1125
+
1126
+ <h4 id="example-4" class="tsd-anchor-link">
1127
+ Example:`<a
1128
+ href="#example-4"
1129
+ aria-label="Permalink"
1130
+ class="tsd-anchor-icon"
1131
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1132
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1133
+ ></a>
1134
+ </h4>
1135
+ <pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;mystate&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">onExit:</span><span class="hl-1"> [ </span><span class="hl-2">&#39;MyService&#39;</span><span class="hl-1">, </span><span class="hl-2">&#39;$transition$&#39;</span><span class="hl-1">, </span><span class="hl-2">&#39;$state$&#39;</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">$state$</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</span><span class="hl-1">(</span><span class="hl-10">$state$</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> } ]</span><br/><span class="hl-1">});</span>
1136
+ </code><button type="button">Copy</button></pre>
1137
+ </div>
1138
+ <div class="tsd-comment tsd-typography"></div>
1139
+ </section>
1140
+ <section class="tsd-panel tsd-member">
1141
+ <h3 class="tsd-anchor-link" id="onretain">
1142
+ <code class="tsd-tag">Optional</code><span>on<wbr />Retain</span
1143
+ ><a
1144
+ href="#onretain"
1145
+ aria-label="Permalink"
1146
+ class="tsd-anchor-icon"
1147
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1148
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1149
+ ></a>
1150
+ </h3>
1151
+ <div class="tsd-signature">
1152
+ <span class="tsd-kind-property">onRetain</span
1153
+ ><span class="tsd-signature-symbol">?:</span>
1154
+ <a
1155
+ href="../types/interface.Injectable.html"
1156
+ class="tsd-signature-type tsd-kind-type-alias"
1157
+ >Injectable</a
1158
+ >
1159
+ <span class="tsd-signature-symbol">|</span>
1160
+ <a
1161
+ href="router_transition_interface.TransitionStateHookFn.html"
1162
+ class="tsd-signature-type tsd-kind-interface"
1163
+ >TransitionStateHookFn</a
1164
+ >
1165
+ </div>
1166
+ <div class="tsd-comment tsd-typography">
1167
+ <p>A state hook invoked when a state is being retained.</p>
1168
+ <p>
1169
+ The hook can inject global services. It can also inject
1170
+ <code>$transition$</code> or <code>$state$</code> (from the
1171
+ current transition).
1172
+ </p>
1173
+ <h4 id="example-5" class="tsd-anchor-link">
1174
+ Example:<a
1175
+ href="#example-5"
1176
+ aria-label="Permalink"
1177
+ class="tsd-anchor-icon"
1178
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1179
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1180
+ ></a>
1181
+ </h4>
1182
+ <pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;mystate&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">onRetain</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">$state$</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</span><span class="hl-1">(</span><span class="hl-10">$state$</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
1183
+ </code><button type="button">Copy</button></pre>
1184
+
1185
+ <h4 id="example-6" class="tsd-anchor-link">
1186
+ Example:`<a
1187
+ href="#example-6"
1188
+ aria-label="Permalink"
1189
+ class="tsd-anchor-icon"
1190
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1191
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1192
+ ></a>
1193
+ </h4>
1194
+ <pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;mystate&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">onRetain:</span><span class="hl-1"> [ </span><span class="hl-2">&#39;MyService&#39;</span><span class="hl-1">, </span><span class="hl-2">&#39;$transition$&#39;</span><span class="hl-1">, </span><span class="hl-2">&#39;$state$&#39;</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">$state$</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</span><span class="hl-1">(</span><span class="hl-10">$state$</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> } ]</span><br/><span class="hl-1">});</span>
1195
+ </code><button type="button">Copy</button></pre>
1196
+ </div>
1197
+ <div class="tsd-comment tsd-typography"></div>
1198
+ </section>
1199
+ <section class="tsd-panel tsd-member">
1200
+ <h3 class="tsd-anchor-link" id="params">
1201
+ <code class="tsd-tag">Optional</code><span>params</span
1202
+ ><a
1203
+ href="#params"
1204
+ aria-label="Permalink"
1205
+ class="tsd-anchor-icon"
1206
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1207
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1208
+ ></a>
1209
+ </h3>
1210
+ <div class="tsd-signature">
1211
+ <span class="tsd-kind-property">params</span
1212
+ ><span class="tsd-signature-symbol">?:</span>
1213
+ <span class="tsd-signature-symbol">{</span>
1214
+ <span class="tsd-signature-symbol">[</span
1215
+ ><span class="tsd-kind-index-signature">key</span
1216
+ ><span class="tsd-signature-symbol">:</span>
1217
+ <span class="tsd-signature-type">string</span
1218
+ ><span class="tsd-signature-symbol">]:</span>
1219
+ <span class="tsd-signature-type">any</span>
1220
+ <span class="tsd-signature-symbol">}</span>
1221
+ </div>
1222
+ <div class="tsd-comment tsd-typography">
1223
+ <p>Params configuration</p>
1224
+ <p>
1225
+ An object which optionally configures parameters declared in
1226
+ the url, or defines additional non-url parameters. For each
1227
+ parameter being configured, add a [[ParamDeclaration]] keyed
1228
+ to the name of the parameter.
1229
+ </p>
1230
+ <h4 id="example-7" class="tsd-anchor-link">
1231
+ Example:<a
1232
+ href="#example-7"
1233
+ aria-label="Permalink"
1234
+ class="tsd-anchor-icon"
1235
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1236
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1237
+ ></a>
1238
+ </h4>
1239
+ <pre><code class="js"><span class="hl-15">params</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">param1</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">type</span><span class="hl-1">: </span><span class="hl-2">&quot;int&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">array</span><span class="hl-1">: </span><span class="hl-11">true</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">value</span><span class="hl-1">: []</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-15">param2</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">value</span><span class="hl-1">: </span><span class="hl-2">&quot;index&quot;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
1240
+ </code><button type="button">Copy</button></pre>
1241
+ </div>
1242
+ <div class="tsd-comment tsd-typography"></div>
1243
+ </section>
1244
+ <section class="tsd-panel tsd-member">
1245
+ <h3 class="tsd-anchor-link" id="parent">
1246
+ <code class="tsd-tag">Optional</code><span>parent</span
1247
+ ><a
1248
+ href="#parent"
1249
+ aria-label="Permalink"
1250
+ class="tsd-anchor-icon"
1251
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1252
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1253
+ ></a>
1254
+ </h3>
1255
+ <div class="tsd-signature">
1256
+ <span class="tsd-kind-property">parent</span
1257
+ ><span class="tsd-signature-symbol">?:</span>
1258
+ <span class="tsd-signature-type">string</span>
1259
+ <span class="tsd-signature-symbol">|</span>
1260
+ <a href="" class="tsd-signature-type tsd-kind-interface"
1261
+ >StateDeclaration</a
1262
+ >
1263
+ </div>
1264
+ <div class="tsd-comment tsd-typography">
1265
+ <p>The parent state</p>
1266
+ <p>
1267
+ Normally, a state's parent is implied from the state's
1268
+ [[name]], e.g.,
1269
+ <code>&quot;parentstate.childstate&quot;</code>.
1270
+ </p>
1271
+ <p>
1272
+ Alternatively, you can explicitly set the parent state using
1273
+ this property. This allows shorter state names, e.g.,
1274
+ <code
1275
+ >&lt;a
1276
+ ui-sref=&quot;childstate&quot;&gt;Child&lt;/a&gt;</code
1277
+ >
1278
+ instead of `<a ui-sref="parentstate.childstate">Child</a>
1279
+ </p>
1280
+ <p>
1281
+ When using this property, the state's name should not have any
1282
+ dots in it.
1283
+ </p>
1284
+ <h4 id="example-8" class="tsd-anchor-link">
1285
+ Example:<a
1286
+ href="#example-8"
1287
+ aria-label="Permalink"
1288
+ class="tsd-anchor-icon"
1289
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1290
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1291
+ ></a>
1292
+ </h4>
1293
+ <pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">parentstate</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;parentstate&#39;</span><br/><span class="hl-1">}</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">childstate</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;childstate&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">parent:</span><span class="hl-1"> </span><span class="hl-2">&#39;parentstate&#39;</span><br/><span class="hl-1"> </span><span class="hl-9">// or use a JS var which is the parent StateDeclaration, i.e.:</span><br/><span class="hl-1"> </span><span class="hl-9">// parent: parentstate</span><br/><span class="hl-1">}</span>
1294
+ </code><button type="button">Copy</button></pre>
1295
+ </div>
1296
+ <div class="tsd-comment tsd-typography"></div>
1297
+ </section>
1298
+ <section class="tsd-panel tsd-member">
1299
+ <h3 class="tsd-anchor-link" id="redirectto">
1300
+ <code class="tsd-tag">Optional</code
1301
+ ><span>redirect<wbr />To</span
1302
+ ><a
1303
+ href="#redirectto"
1304
+ aria-label="Permalink"
1305
+ class="tsd-anchor-icon"
1306
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1307
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1308
+ ></a>
1309
+ </h3>
1310
+ <div class="tsd-signature">
1311
+ <span class="tsd-kind-property">redirectTo</span
1312
+ ><span class="tsd-signature-symbol">?:</span><br />    <span
1313
+ class="tsd-signature-symbol"
1314
+ >|</span
1315
+ >
1316
+ <a
1317
+ href="../types/router_state_interface.RedirectToResult.html"
1318
+ class="tsd-signature-type tsd-kind-type-alias"
1319
+ >RedirectToResult</a
1320
+ ><br />    <span class="tsd-signature-symbol">|</span> (<span
1321
+ class="tsd-signature-symbol"
1322
+ >(</span
1323
+ ><span class="tsd-kind-parameter">transition</span
1324
+ ><span class="tsd-signature-symbol">:</span>
1325
+ <a
1326
+ href="../classes/router_transition_transition.Transition.html"
1327
+ class="tsd-signature-type tsd-kind-class"
1328
+ >Transition</a
1329
+ ><span class="tsd-signature-symbol">)</span>
1330
+ <span class="tsd-signature-symbol">=&gt;</span>
1331
+ <a
1332
+ href="../types/router_state_interface.RedirectToResult.html"
1333
+ class="tsd-signature-type tsd-kind-type-alias"
1334
+ >RedirectToResult</a
1335
+ >)<br />    <span class="tsd-signature-symbol">|</span> (<span
1336
+ class="tsd-signature-symbol"
1337
+ >(</span
1338
+ ><span class="tsd-kind-parameter">transition</span
1339
+ ><span class="tsd-signature-symbol">:</span>
1340
+ <a
1341
+ href="../classes/router_transition_transition.Transition.html"
1342
+ class="tsd-signature-type tsd-kind-class"
1343
+ >Transition</a
1344
+ ><span class="tsd-signature-symbol">)</span>
1345
+ <span class="tsd-signature-symbol">=&gt;</span>
1346
+ <span class="tsd-signature-type">Promise</span
1347
+ ><span class="tsd-signature-symbol">&lt;</span
1348
+ ><a
1349
+ href="../types/router_state_interface.RedirectToResult.html"
1350
+ class="tsd-signature-type tsd-kind-type-alias"
1351
+ >RedirectToResult</a
1352
+ ><span class="tsd-signature-symbol">&gt;</span>)
1353
+ </div>
1354
+ <div class="tsd-comment tsd-typography">
1355
+ <p>
1356
+ Synchronously or asynchronously redirects Transitions to a
1357
+ different state/params
1358
+ </p>
1359
+ <p>
1360
+ If this property is defined, a Transition directly to this
1361
+ state will be redirected based on the property's value.
1362
+ </p>
1363
+ <ul>
1364
+ <li>
1365
+ <p>
1366
+ If the value is a <code>string</code>, the Transition is
1367
+ redirected to the state named by the string.
1368
+ </p>
1369
+ </li>
1370
+ <li>
1371
+ <p>
1372
+ If the property is an object with a
1373
+ <code>state</code> and/or <code>params</code> property,
1374
+ the Transition is redirected to the named
1375
+ <code>state</code> and/or <code>params</code>.
1376
+ </p>
1377
+ </li>
1378
+ <li>
1379
+ <p>
1380
+ If the value is a [[TargetState]] the Transition is
1381
+ redirected to the <code>TargetState</code>
1382
+ </p>
1383
+ </li>
1384
+ <li>
1385
+ <p>If the property is a function:</p>
1386
+ <ul>
1387
+ <li>
1388
+ The function is called with the current [[Transition]]
1389
+ </li>
1390
+ <li>
1391
+ The return value is processed using the previously
1392
+ mentioned rules.
1393
+ </li>
1394
+ <li>
1395
+ If the return value is a promise, the promise is waited
1396
+ for, then the resolved async value is processed using
1397
+ the same rules.
1398
+ </li>
1399
+ </ul>
1400
+ </li>
1401
+ </ul>
1402
+ <p>
1403
+ Note: <code>redirectTo</code> is processed as an
1404
+ <code>onStart</code> hook, before <code>LAZY</code> resolves.
1405
+ If your redirect function relies on resolve data, get the
1406
+ [[Transition.injector]] and get a promise for the resolve data
1407
+ using [[UIInjector.getAsync]].
1408
+ </p>
1409
+ <h4 id="example-9" class="tsd-anchor-link">
1410
+ Example:<a
1411
+ href="#example-9"
1412
+ aria-label="Permalink"
1413
+ class="tsd-anchor-icon"
1414
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1415
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1416
+ ></a>
1417
+ </h4>
1418
+ <pre><code class="js"><span class="hl-9">// a string</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">&#39;A&#39;</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-10">redirectTo:</span><span class="hl-1"> </span><span class="hl-2">&#39;A.B&#39;</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a {state, params} object</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">&#39;C&#39;</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-10">redirectTo:</span><span class="hl-1"> { </span><span class="hl-10">state:</span><span class="hl-1"> </span><span class="hl-2">&#39;C.D&#39;</span><span class="hl-1">, </span><span class="hl-10">params:</span><span class="hl-1"> { </span><span class="hl-10">foo:</span><span class="hl-1"> </span><span class="hl-2">&#39;index&#39;</span><span class="hl-1"> } }</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a fn</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">&#39;E&#39;</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">redirectTo</span><span class="hl-10">:</span><span class="hl-1"> () </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-2">&quot;A&quot;</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a fn conditionally returning a {state, params}</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">&#39;F&#39;</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">redirectTo</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">trans</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">if</span><span class="hl-1"> (</span><span class="hl-10">trans</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">foo</span><span class="hl-1"> &lt; </span><span class="hl-16">10</span><span class="hl-1">)</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> { </span><span class="hl-10">state:</span><span class="hl-1"> </span><span class="hl-2">&#39;F&#39;</span><span class="hl-1">, </span><span class="hl-10">params:</span><span class="hl-1"> { </span><span class="hl-10">foo:</span><span class="hl-1"> </span><span class="hl-16">10</span><span class="hl-1"> } };</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a fn returning a promise for a redirect</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">&#39;G&#39;</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">redirectTo</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">trans</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">svc</span><span class="hl-1"> = </span><span class="hl-10">trans</span><span class="hl-1">.</span><span class="hl-0">injector</span><span class="hl-1">().</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-2">&#39;SomeAsyncService&#39;</span><span class="hl-1">)</span><br/><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">promise</span><span class="hl-1"> = </span><span class="hl-10">svc</span><span class="hl-1">.</span><span class="hl-0">getAsyncRedirectTo</span><span class="hl-1">(</span><span class="hl-10">trans</span><span class="hl-1">.</span><span class="hl-10">params</span><span class="hl-1">.</span><span class="hl-10">foo</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">promise</span><span class="hl-1">;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a fn that fetches resolve data</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">&#39;G&#39;</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">redirectTo</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">trans</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-9">// getAsync tells the resolve to load</span><br/><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">resolvePromise</span><span class="hl-1"> = </span><span class="hl-10">trans</span><span class="hl-1">.</span><span class="hl-0">injector</span><span class="hl-1">().</span><span class="hl-0">getAsync</span><span class="hl-1">(</span><span class="hl-2">&#39;SomeResolve&#39;</span><span class="hl-1">)</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">resolvePromise</span><span class="hl-1">.</span><span class="hl-0">then</span><span class="hl-1">(</span><span class="hl-10">resolveData</span><span class="hl-1"> </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-10">resolveData</span><span class="hl-1"> === </span><span class="hl-2">&#39;login&#39;</span><span class="hl-1"> ? </span><span class="hl-2">&#39;login&#39;</span><span class="hl-1"> : </span><span class="hl-11">null</span><span class="hl-1">);</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">})</span>
1419
+ </code><button type="button">Copy</button></pre>
1420
+ </div>
1421
+ <div class="tsd-comment tsd-typography"></div>
1422
+ </section>
1423
+ <section class="tsd-panel tsd-member">
1424
+ <h3 class="tsd-anchor-link" id="reloadonsearch">
1425
+ <code class="tsd-tag">Optional</code
1426
+ ><span class="deprecated">reload<wbr />On<wbr />Search</span
1427
+ ><a
1428
+ href="#reloadonsearch"
1429
+ aria-label="Permalink"
1430
+ class="tsd-anchor-icon"
1431
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1432
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1433
+ ></a>
1434
+ </h3>
1435
+ <div class="tsd-signature">
1436
+ <span class="tsd-kind-property">reloadOnSearch</span
1437
+ ><span class="tsd-signature-symbol">?:</span>
1438
+ <span class="tsd-signature-type">boolean</span>
1439
+ </div>
1440
+ <div class="tsd-comment tsd-typography">
1441
+ <p>
1442
+ Marks all query parameters as [[ParamDeclaration.dynamic]]
1443
+ </p>
1444
+ </div>
1445
+ <div class="tsd-comment tsd-typography">
1446
+ <div class="tsd-tag-deprecated">
1447
+ <h4 class="tsd-anchor-link" id="deprecated">
1448
+ Deprecated<a
1449
+ href="#deprecated"
1450
+ aria-label="Permalink"
1451
+ class="tsd-anchor-icon"
1452
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1453
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1454
+ ></a>
1455
+ </h4>
1456
+ <p>use either [[dynamic]] or [[ParamDeclaration.dynamic]]</p>
1457
+ </div>
1458
+ </div>
1459
+ </section>
1460
+ <section class="tsd-panel tsd-member">
1461
+ <h3 class="tsd-anchor-link" id="resolve">
1462
+ <code class="tsd-tag">Optional</code><span>resolve</span
1463
+ ><a
1464
+ href="#resolve"
1465
+ aria-label="Permalink"
1466
+ class="tsd-anchor-icon"
1467
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1468
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1469
+ ></a>
1470
+ </h3>
1471
+ <div class="tsd-signature">
1472
+ <span class="tsd-kind-property">resolve</span
1473
+ ><span class="tsd-signature-symbol">?:</span>
1474
+ <span class="tsd-signature-symbol">{</span>
1475
+ <span class="tsd-signature-symbol">[</span
1476
+ ><span class="tsd-kind-index-signature">key</span
1477
+ ><span class="tsd-signature-symbol">:</span>
1478
+ <span class="tsd-signature-type">string</span
1479
+ ><span class="tsd-signature-symbol">]:</span>
1480
+ <a
1481
+ href="../types/interface.Injectable.html"
1482
+ class="tsd-signature-type tsd-kind-type-alias"
1483
+ >Injectable</a
1484
+ >
1485
+ <span class="tsd-signature-symbol">}</span>
1486
+ <span class="tsd-signature-symbol">|</span>
1487
+ <a
1488
+ href="../types/router_state_interface.ResolveTypes.html"
1489
+ class="tsd-signature-type tsd-kind-type-alias"
1490
+ >ResolveTypes</a
1491
+ ><span class="tsd-signature-symbol">[]</span>
1492
+ </div>
1493
+ <div class="tsd-comment tsd-typography">
1494
+ <p>
1495
+ Resolve - a mechanism to asynchronously fetch data,
1496
+ participating in the Transition lifecycle
1497
+ </p>
1498
+ <p>
1499
+ The <code>resolve:</code> property defines data (or other
1500
+ dependencies) to be fetched asynchronously when the state is
1501
+ being entered. After the data is fetched, it may be used in
1502
+ views, transition hooks or other resolves that belong to this
1503
+ state. The data may also be used in any views or resolves that
1504
+ belong to nested states.
1505
+ </p>
1506
+ <h3 id="as-an-array" class="tsd-anchor-link">
1507
+ As an array<a
1508
+ href="#as-an-array"
1509
+ aria-label="Permalink"
1510
+ class="tsd-anchor-icon"
1511
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1512
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1513
+ ></a>
1514
+ </h3>
1515
+ <p>
1516
+ Each array element should be a [[ResolvableLiteral]] object.
1517
+ </p>
1518
+ <h4 id="example-10" class="tsd-anchor-link">
1519
+ Example:<a
1520
+ href="#example-10"
1521
+ aria-label="Permalink"
1522
+ class="tsd-anchor-icon"
1523
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1524
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1525
+ ></a>
1526
+ </h4>
1527
+ <p>
1528
+ The <code>user</code> resolve injects the current
1529
+ <code>Transition</code> and the
1530
+ <code>UserService</code> (using its token, which is a string).
1531
+ The [[ResolvableLiteral.resolvePolicy]] sets how the resolve
1532
+ is processed. The <code>user</code> data, fetched
1533
+ asynchronously, can then be used in a view.
1534
+ </p>
1535
+ <pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">state</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">&#39;user&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">url:</span><span class="hl-1"> </span><span class="hl-2">&#39;/user/:userI</span><span class="hl-12">d</span><br/><span class="hl-1"> </span><span class="hl-10">resolve</span><span class="hl-1">: [</span><br/><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">token:</span><span class="hl-1"> </span><span class="hl-2">&#39;user&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">policy:</span><span class="hl-1"> { </span><span class="hl-10">when:</span><span class="hl-1"> </span><span class="hl-2">&#39;EAGER&#39;</span><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-10">deps:</span><span class="hl-1"> [</span><span class="hl-2">&#39;UserService&#39;</span><span class="hl-1">, </span><span class="hl-10">Transition</span><span class="hl-1">],</span><br/><span class="hl-1"> </span><span class="hl-0">resolveFn</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">userSvc</span><span class="hl-1">, </span><span class="hl-10">trans</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-10">userSvc</span><span class="hl-1">.</span><span class="hl-0">fetchUser</span><span class="hl-1">(</span><span class="hl-10">trans</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">userId</span><span class="hl-1">) },</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> ]</span><br/><span class="hl-1">}</span>
1536
+ </code><button type="button">Copy</button></pre>
1537
+
1538
+ <p>
1539
+ Note: an Angular 2 style
1540
+ <a
1541
+ href="https://angular.io/docs/ts/latest/cookbook/dependency-injection.html#!#provide"
1542
+ ><code>useFactory</code> provider literal</a
1543
+ >
1544
+ may also be used. See [[ProviderLike]].
1545
+ </p>
1546
+ <h4 id="example-11" class="tsd-anchor-link">
1547
+ Example:<a
1548
+ href="#example-11"
1549
+ aria-label="Permalink"
1550
+ class="tsd-anchor-icon"
1551
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1552
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1553
+ ></a>
1554
+ </h4>
1555
+ <pre><code><span class="hl-15">resolve</span><span class="hl-1">: [</span><br/><span class="hl-1"> { </span><span class="hl-10">provide:</span><span class="hl-1"> </span><span class="hl-2">&#39;token&#39;</span><span class="hl-1">, </span><span class="hl-0">useFactory</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">http</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-10">http</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-2">&#39;/&#39;</span><span class="hl-1">), </span><span class="hl-10">deps:</span><span class="hl-1"> [ </span><span class="hl-10">Http</span><span class="hl-1"> ] },</span><br/><span class="hl-1">]</span>
1556
+ </code><button>Copy</button></pre>
1557
+
1558
+ <h3 id="as-an-object" class="tsd-anchor-link">
1559
+ As an object<a
1560
+ href="#as-an-object"
1561
+ aria-label="Permalink"
1562
+ class="tsd-anchor-icon"
1563
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1564
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1565
+ ></a>
1566
+ </h3>
1567
+ <p>The <code>resolve</code> property may be an object where:</p>
1568
+ <ul>
1569
+ <li>Each key (string) is the name of the dependency.</li>
1570
+ <li>
1571
+ Each value (function) is an injectable function which
1572
+ returns the dependency, or a promise for the dependency.
1573
+ </li>
1574
+ </ul>
1575
+ <p>
1576
+ This style is based on AngularTS injectable functions, but can
1577
+ be used with any UI-Router implementation. If your code will
1578
+ be minified, the function should be
1579
+ <a
1580
+ href="https://docs.angularjs.org/guide/di#dependency-annotation"
1581
+ >&quot;annotated&quot; in the AngularTS manner</a
1582
+ >.
1583
+ </p>
1584
+ <h4 id="angularts-example" class="tsd-anchor-link">
1585
+ AngularTS Example:<a
1586
+ href="#angularts-example"
1587
+ aria-label="Permalink"
1588
+ class="tsd-anchor-icon"
1589
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1590
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1591
+ ></a>
1592
+ </h4>
1593
+ <pre><code class="js"><span class="hl-15">resolve</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-9">// If you inject `myStateDependency` into a controller, you&#39;ll get &quot;abc&quot;</span><br/><span class="hl-1"> </span><span class="hl-15">myStateDependency</span><span class="hl-1">: </span><span class="hl-11">function</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-2">&quot;abc&quot;</span><span class="hl-1">;</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-9">// Dependencies are annotated in &quot;Inline Array Annotation&quot;</span><br/><span class="hl-1"> </span><span class="hl-15">myAsyncData</span><span class="hl-1">: [</span><span class="hl-2">&#39;$http&#39;</span><span class="hl-1">, </span><span class="hl-2">&#39;$transition$&#39;</span><span class="hl-1"> </span><span class="hl-11">function</span><span class="hl-1">(</span><span class="hl-10">$http</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-9">// Return a promise (async) for the data</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">$http</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-2">&quot;/foos/&quot;</span><span class="hl-1"> + </span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">foo</span><span class="hl-1">);</span><br/><span class="hl-1"> }]</span><br/><span class="hl-1">}</span>
1594
+ </code><button type="button">Copy</button></pre>
1595
+
1596
+ <p>
1597
+ Note: You cannot specify a policy for each Resolvable, nor can
1598
+ you use non-string tokens when using the object style
1599
+ <code>resolve:</code> block.
1600
+ </p>
1601
+ <h3 id="lifecycle-1" class="tsd-anchor-link">
1602
+ Lifecycle<a
1603
+ href="#lifecycle-1"
1604
+ aria-label="Permalink"
1605
+ class="tsd-anchor-icon"
1606
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1607
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1608
+ ></a>
1609
+ </h3>
1610
+ <p>
1611
+ Since a resolve function can return a promise, the router will
1612
+ delay entering the state until the promises are ready. If any
1613
+ of the promises are rejected, the Transition is aborted with
1614
+ an Error.
1615
+ </p>
1616
+ <p>
1617
+ By default, resolves for a state are fetched just before that
1618
+ state is entered. Note that only states which are being
1619
+ <em>entered</em> during the <code>Transition</code> have their
1620
+ resolves fetched. States that are &quot;retained&quot; do not
1621
+ have their resolves re-fetched.
1622
+ </p>
1623
+ <p>
1624
+ If you are currently in a parent state <code>parent</code> and
1625
+ are transitioning to a child state <code>parent.child</code>,
1626
+ the previously resolved data for state <code>parent</code> can
1627
+ be injected into <code>parent.child</code> without delay.
1628
+ </p>
1629
+ <p>
1630
+ Any resolved data for <code>parent.child</code> is retained
1631
+ until <code>parent.child</code> is exited, e.g., by
1632
+ transitioning back to the <code>parent</code> state.
1633
+ </p>
1634
+ <p>
1635
+ Because of this scoping and lifecycle, resolves are a great
1636
+ place to fetch your application's primary data.
1637
+ </p>
1638
+ <h3
1639
+ id="injecting-resolves-into-other-things"
1640
+ class="tsd-anchor-link"
1641
+ >
1642
+ Injecting resolves into other things<a
1643
+ href="#injecting-resolves-into-other-things"
1644
+ aria-label="Permalink"
1645
+ class="tsd-anchor-icon"
1646
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1647
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1648
+ ></a>
1649
+ </h3>
1650
+ <p>During a transition, Resolve data can be injected into:</p>
1651
+ <ul>
1652
+ <li>
1653
+ Views (the components which fill a <code>ui-view</code> tag)
1654
+ </li>
1655
+ <li>Transition Hooks</li>
1656
+ <li>
1657
+ Other resolves (a resolve may depend on asynchronous data
1658
+ from a different resolve)
1659
+ </li>
1660
+ </ul>
1661
+ <h3
1662
+ id="injecting-other-things-into-resolves"
1663
+ class="tsd-anchor-link"
1664
+ >
1665
+ Injecting other things into resolves<a
1666
+ href="#injecting-other-things-into-resolves"
1667
+ aria-label="Permalink"
1668
+ class="tsd-anchor-icon"
1669
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1670
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1671
+ ></a>
1672
+ </h3>
1673
+ <p>
1674
+ Resolve functions usually have dependencies on some other
1675
+ API(s). The dependencies are usually declared and injected
1676
+ into the resolve function. A common pattern is to inject a
1677
+ custom service such as <code>UserService</code>. The resolve
1678
+ then delegates to a service method, such as
1679
+ <code>UserService.list()</code>;
1680
+ </p>
1681
+ <h4 id="special-injectable-tokens" class="tsd-anchor-link">
1682
+ Special injectable tokens<a
1683
+ href="#special-injectable-tokens"
1684
+ aria-label="Permalink"
1685
+ class="tsd-anchor-icon"
1686
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1687
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1688
+ ></a>
1689
+ </h4>
1690
+ <ul>
1691
+ <li>
1692
+ <code>UIRouter</code>: The [[UIRouter]] instance which has
1693
+ references to all the UI-Router services.
1694
+ </li>
1695
+ <li>
1696
+ <code>Transition</code>: The current [[Transition]] object;
1697
+ information and API about the current transition, such as
1698
+ &quot;to&quot; and &quot;from&quot; State Parameters and
1699
+ transition options.
1700
+ </li>
1701
+ <li>
1702
+ <code>'$transition$'</code>: A string alias for the
1703
+ <code>Transition</code> injectable
1704
+ </li>
1705
+ <li>
1706
+ <code>'$state$'</code>: For
1707
+ <code>onEnter</code
1708
+ >/<code>onExit</code>/<code>onRetain</code>, the state being
1709
+ entered/exited/retained.
1710
+ </li>
1711
+ <li>
1712
+ Other resolve tokens: A resolve can depend on another
1713
+ resolve, either from the same state, or from any parent
1714
+ state.
1715
+ </li>
1716
+ </ul>
1717
+ <h4 id="example-12" class="tsd-anchor-link">
1718
+ Example:<a
1719
+ href="#example-12"
1720
+ aria-label="Permalink"
1721
+ class="tsd-anchor-icon"
1722
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1723
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1724
+ ></a>
1725
+ </h4>
1726
+ <pre><code class="js"><span class="hl-9">// Injecting a resolve into another resolve</span><br/><span class="hl-15">resolve</span><span class="hl-1">: [</span><br/><span class="hl-1"> </span><span class="hl-9">// Define a resolve &#39;allusers&#39; which delegates to the UserService.list()</span><br/><span class="hl-1"> </span><span class="hl-9">// which returns a promise (async) for all the users</span><br/><span class="hl-1"> { </span><span class="hl-10">provide:</span><span class="hl-1"> </span><span class="hl-2">&#39;allusers&#39;</span><span class="hl-1">, </span><span class="hl-0">useFactory</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">UserService</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-10">UserService</span><span class="hl-1">.</span><span class="hl-0">list</span><span class="hl-1">(), </span><span class="hl-10">deps:</span><span class="hl-1"> [</span><span class="hl-10">UserService</span><span class="hl-1">] },</span><br/><br/><span class="hl-1"> </span><span class="hl-9">// Define a resolve &#39;user&#39; which depends on the allusers resolve.</span><br/><span class="hl-1"> </span><span class="hl-9">// This resolve function is not called until &#39;allusers&#39; is ready.</span><br/><span class="hl-1"> { </span><span class="hl-10">provide:</span><span class="hl-1"> </span><span class="hl-2">&#39;user&#39;</span><span class="hl-1">, (</span><span class="hl-10">allusers</span><span class="hl-1">, trans) =&gt; _.find(</span><span class="hl-10">allusers</span><span class="hl-1">, trans.params().</span><span class="hl-10">userId</span><span class="hl-1">, </span><span class="hl-10">deps:</span><span class="hl-1"> [</span><span class="hl-2">&#39;allusers&#39;</span><span class="hl-1">, </span><span class="hl-10">Transition</span><span class="hl-1">] }</span><br/><span class="hl-1">}</span>
1727
+ </code><button type="button">Copy</button></pre>
1728
+ </div>
1729
+ <div class="tsd-comment tsd-typography"></div>
1730
+ </section>
1731
+ <section class="tsd-panel tsd-member">
1732
+ <h3 class="tsd-anchor-link" id="resolvepolicy">
1733
+ <code class="tsd-tag">Optional</code
1734
+ ><span>resolve<wbr />Policy</span
1735
+ ><a
1736
+ href="#resolvepolicy"
1737
+ aria-label="Permalink"
1738
+ class="tsd-anchor-icon"
1739
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1740
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1741
+ ></a>
1742
+ </h3>
1743
+ <div class="tsd-signature">
1744
+ <span class="tsd-kind-property">resolvePolicy</span
1745
+ ><span class="tsd-signature-symbol">?:</span>
1746
+ <a
1747
+ href="router_resolve_interface.ResolvePolicy.html"
1748
+ class="tsd-signature-type tsd-kind-interface"
1749
+ >ResolvePolicy</a
1750
+ >
1751
+ </div>
1752
+ <div class="tsd-comment tsd-typography">
1753
+ <p>
1754
+ Sets the resolve policy defaults for all resolves on this
1755
+ state
1756
+ </p>
1757
+ <p>This should be an [[ResolvePolicy]] object.</p>
1758
+ <p>It can contain the following optional keys/values:</p>
1759
+ <ul>
1760
+ <li>
1761
+ <code>when</code>: (optional) defines when the resolve is
1762
+ fetched. Accepted values: &quot;LAZY&quot; or
1763
+ &quot;EAGER&quot;
1764
+ </li>
1765
+ <li>
1766
+ <code>async</code>: (optional) if the transition waits for
1767
+ the resolve. Accepted values: &quot;WAIT&quot;,
1768
+ &quot;NOWAIT&quot;, CustomAsyncPolicy
1769
+ </li>
1770
+ </ul>
1771
+ <p>See [[ResolvePolicy]] for more details.</p>
1772
+ </div>
1773
+ <div class="tsd-comment tsd-typography"></div>
1774
+ </section>
1775
+ <section class="tsd-panel tsd-member">
1776
+ <h3 class="tsd-anchor-link" id="url">
1777
+ <code class="tsd-tag">Optional</code><span>url</span
1778
+ ><a href="#url" aria-label="Permalink" class="tsd-anchor-icon"
1779
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1780
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1781
+ ></a>
1782
+ </h3>
1783
+ <div class="tsd-signature">
1784
+ <span class="tsd-kind-property">url</span
1785
+ ><span class="tsd-signature-symbol">?:</span>
1786
+ <span class="tsd-signature-type">string</span>
1787
+ </div>
1788
+ <div class="tsd-comment tsd-typography">
1789
+ <p>The url fragment for the state</p>
1790
+ <p>
1791
+ A URL fragment (with optional parameters) which is used to
1792
+ match the browser location with this state.
1793
+ </p>
1794
+ <p>
1795
+ This fragment will be appended to the parent state's URL in
1796
+ order to build up the overall URL for this state. See
1797
+ [[UrlMatcher]] for details on acceptable patterns.
1798
+ </p>
1799
+ </div>
1800
+ <div class="tsd-comment tsd-typography">
1801
+ <div class="tsd-tag-examples">
1802
+ <h4 class="tsd-anchor-link" id="examples">
1803
+ Examples<a
1804
+ href="#examples"
1805
+ aria-label="Permalink"
1806
+ class="tsd-anchor-icon"
1807
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1808
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1809
+ ></a>
1810
+ </h4>
1811
+ <pre><code class="js"><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">&quot;/home&quot;</span><br/><span class="hl-9">// Define a parameter named &#39;userid&#39;</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">&quot;/users/:userid&quot;</span><br/><span class="hl-9">// param &#39;bookid&#39; has a custom regexp</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">&quot;/books/{bookid:[a-zA-Z_-]}&quot;</span><br/><span class="hl-9">// param &#39;categoryid&#39; is of type &#39;int&#39;</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">&quot;/books/{categoryid:int}&quot;</span><br/><span class="hl-9">// two parameters for this state</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">&quot;/books/{publishername:string}/{categoryid:int}&quot;</span><br/><span class="hl-9">// Query parameters</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">&quot;/messages?before&amp;after&quot;</span><br/><span class="hl-9">// Query parameters of type &#39;date&#39;</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">&quot;/messages?{before:date}&amp;{after:date}&quot;</span><br/><span class="hl-9">// Path and query parameters</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">&quot;/messages/:mailboxid?{before:date}&amp;{after:date}&quot;</span>
1812
+ </code><button type="button">Copy</button></pre>
1813
+ </div>
1814
+ </div>
1815
+ </section>
1816
+ <section class="tsd-panel tsd-member">
1817
+ <h3 class="tsd-anchor-link" id="views">
1818
+ <code class="tsd-tag">Optional</code><span>views</span
1819
+ ><a href="#views" aria-label="Permalink" class="tsd-anchor-icon"
1820
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1821
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1822
+ ></a>
1823
+ </h3>
1824
+ <div class="tsd-signature">
1825
+ <span class="tsd-kind-property">views</span
1826
+ ><span class="tsd-signature-symbol">?:</span>
1827
+ <span class="tsd-signature-symbol">{</span>
1828
+ <span class="tsd-signature-symbol">[</span
1829
+ ><span class="tsd-kind-index-signature">key</span
1830
+ ><span class="tsd-signature-symbol">:</span>
1831
+ <span class="tsd-signature-type">string</span
1832
+ ><span class="tsd-signature-symbol">]:</span>
1833
+ <a
1834
+ href="router_state_interface.ViewDeclaration.html"
1835
+ class="tsd-signature-type tsd-kind-interface"
1836
+ >ViewDeclaration</a
1837
+ >
1838
+ <span class="tsd-signature-symbol">}</span>
1839
+ </div>
1840
+ <div class="tsd-comment tsd-typography">
1841
+ <p>Named views</p>
1842
+ <p>
1843
+ An optional object which defines multiple views, or explicitly
1844
+ targets specific named ui-views.
1845
+ </p>
1846
+ <ul>
1847
+ <li>What is a view config</li>
1848
+ <li>What is a ui-view</li>
1849
+ <li>Shorthand controller/template</li>
1850
+ <li>Incompatible with ^</li>
1851
+ </ul>
1852
+ <p>Examples:</p>
1853
+ <p>
1854
+ Targets three named ui-views in the parent state's template
1855
+ </p>
1856
+ <h4 id="example-13" class="tsd-anchor-link">
1857
+ Example:<a
1858
+ href="#example-13"
1859
+ aria-label="Permalink"
1860
+ class="tsd-anchor-icon"
1861
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1862
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1863
+ ></a>
1864
+ </h4>
1865
+ <pre><code class="js"><span class="hl-15">views</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">header</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">controller</span><span class="hl-1">: </span><span class="hl-2">&quot;headerCtrl&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">templateUrl</span><span class="hl-1">: </span><span class="hl-2">&quot;header.html&quot;</span><br/><span class="hl-1"> }, </span><span class="hl-15">body</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">controller</span><span class="hl-1">: </span><span class="hl-2">&quot;bodyCtrl&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">templateUrl</span><span class="hl-1">: </span><span class="hl-2">&quot;body.html&quot;</span><br/><span class="hl-1"> }, </span><span class="hl-15">footer</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">controller</span><span class="hl-1">: </span><span class="hl-2">&quot;footCtrl&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">templateUrl</span><span class="hl-1">: </span><span class="hl-2">&quot;footer.html&quot;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
1866
+ </code><button type="button">Copy</button></pre>
1867
+ </div>
1868
+ <div class="tsd-comment tsd-typography">
1869
+ <div class="tsd-tag-example">
1870
+ <h4 class="tsd-anchor-link" id="example-14">
1871
+ Example<a
1872
+ href="#example-14"
1873
+ aria-label="Permalink"
1874
+ class="tsd-anchor-icon"
1875
+ ><svg viewBox="0 0 24 24" aria-hidden="true">
1876
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
1877
+ ></a>
1878
+ </h4>
1879
+ <pre><code class="js"><span class="hl-9">// Targets named ui-view=&quot;header&quot; from ancestor state &#39;top&#39;&#39;s template, and</span><br/><span class="hl-9">// named `ui-view=&quot;body&quot; from parent state&#39;s template.</span><br/><span class="hl-15">views</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-2">&#39;header@top&#39;</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-10">controller:</span><span class="hl-1"> </span><span class="hl-2">&quot;msgHeaderCtrl&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">templateUrl:</span><span class="hl-1"> </span><span class="hl-2">&quot;msgHeader.html&quot;</span><br/><span class="hl-1"> }, </span><span class="hl-2">&#39;body&#39;</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-10">controller:</span><span class="hl-1"> </span><span class="hl-2">&quot;messagesCtrl&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">templateUrl:</span><span class="hl-1"> </span><span class="hl-2">&quot;messages.html&quot;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
1880
+ </code><button type="button">Copy</button></pre>
1881
+ </div>
1882
+ </div>
1883
+ </section>
1884
+ </section>
1885
+ </details>
1886
+ </div>
1887
+ <div class="col-sidebar">
1888
+ <div class="page-menu">
1889
+ <div class="tsd-navigation settings">
1890
+ <details class="tsd-accordion">
1891
+ <summary class="tsd-accordion-summary">
1892
+ <svg
1893
+ width="20"
1894
+ height="20"
1895
+ viewBox="0 0 24 24"
1896
+ fill="none"
1897
+ aria-hidden="true"
1898
+ >
1899
+ <use href="../assets/icons.svg#icon-chevronDown"></use>
1900
+ </svg>
1901
+ <h3>Settings</h3>
1902
+ </summary>
1903
+ <div class="tsd-accordion-details">
1904
+ <div class="tsd-filter-visibility">
1905
+ <span class="settings-label">Member Visibility</span>
1906
+ <ul id="tsd-filter-options">
1907
+ <li class="tsd-filter-item">
1908
+ <label class="tsd-filter-input"
1909
+ ><input
1910
+ type="checkbox"
1911
+ id="tsd-filter-protected"
1912
+ name="protected"
1913
+ /><svg
1914
+ width="32"
1915
+ height="32"
1916
+ viewBox="0 0 32 32"
1917
+ aria-hidden="true"
1918
+ >
1919
+ <rect
1920
+ class="tsd-checkbox-background"
1921
+ width="30"
1922
+ height="30"
1923
+ x="1"
1924
+ y="1"
1925
+ rx="6"
1926
+ fill="none"
1927
+ ></rect>
1928
+ <path
1929
+ class="tsd-checkbox-checkmark"
1930
+ d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
1931
+ stroke="none"
1932
+ stroke-width="3.5"
1933
+ stroke-linejoin="round"
1934
+ fill="none"
1935
+ ></path></svg
1936
+ ><span>Protected</span></label
1937
+ >
1938
+ </li>
1939
+ <li class="tsd-filter-item">
1940
+ <label class="tsd-filter-input"
1941
+ ><input
1942
+ type="checkbox"
1943
+ id="tsd-filter-inherited"
1944
+ name="inherited"
1945
+ checked
1946
+ /><svg
1947
+ width="32"
1948
+ height="32"
1949
+ viewBox="0 0 32 32"
1950
+ aria-hidden="true"
1951
+ >
1952
+ <rect
1953
+ class="tsd-checkbox-background"
1954
+ width="30"
1955
+ height="30"
1956
+ x="1"
1957
+ y="1"
1958
+ rx="6"
1959
+ fill="none"
1960
+ ></rect>
1961
+ <path
1962
+ class="tsd-checkbox-checkmark"
1963
+ d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
1964
+ stroke="none"
1965
+ stroke-width="3.5"
1966
+ stroke-linejoin="round"
1967
+ fill="none"
1968
+ ></path></svg
1969
+ ><span>Inherited</span></label
1970
+ >
1971
+ </li>
1972
+ <li class="tsd-filter-item">
1973
+ <label class="tsd-filter-input"
1974
+ ><input
1975
+ type="checkbox"
1976
+ id="tsd-filter-external"
1977
+ name="external"
1978
+ /><svg
1979
+ width="32"
1980
+ height="32"
1981
+ viewBox="0 0 32 32"
1982
+ aria-hidden="true"
1983
+ >
1984
+ <rect
1985
+ class="tsd-checkbox-background"
1986
+ width="30"
1987
+ height="30"
1988
+ x="1"
1989
+ y="1"
1990
+ rx="6"
1991
+ fill="none"
1992
+ ></rect>
1993
+ <path
1994
+ class="tsd-checkbox-checkmark"
1995
+ d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
1996
+ stroke="none"
1997
+ stroke-width="3.5"
1998
+ stroke-linejoin="round"
1999
+ fill="none"
2000
+ ></path></svg
2001
+ ><span>External</span></label
2002
+ >
2003
+ </li>
2004
+ </ul>
2005
+ </div>
2006
+ <div class="tsd-theme-toggle">
2007
+ <label class="settings-label" for="tsd-theme">Theme</label
2008
+ ><select id="tsd-theme">
2009
+ <option value="os">OS</option>
2010
+ <option value="light">Light</option>
2011
+ <option value="dark">Dark</option>
2012
+ </select>
2013
+ </div>
2014
+ </div>
2015
+ </details>
2016
+ </div>
2017
+ <details open class="tsd-accordion tsd-page-navigation">
2018
+ <summary class="tsd-accordion-summary">
2019
+ <svg
2020
+ width="20"
2021
+ height="20"
2022
+ viewBox="0 0 24 24"
2023
+ fill="none"
2024
+ aria-hidden="true"
2025
+ >
2026
+ <use href="../assets/icons.svg#icon-chevronDown"></use>
2027
+ </svg>
2028
+ <h3>On This Page</h3>
2029
+ </summary>
2030
+ <div class="tsd-accordion-details">
2031
+ <a href="#example"><span>Example:</span></a>
2032
+ <details open class="tsd-accordion tsd-page-navigation-section">
2033
+ <summary
2034
+ class="tsd-accordion-summary"
2035
+ data-key="section-Properties"
2036
+ >
2037
+ <svg
2038
+ width="20"
2039
+ height="20"
2040
+ viewBox="0 0 24 24"
2041
+ fill="none"
2042
+ aria-hidden="true"
2043
+ >
2044
+ <use href="../assets/icons.svg#icon-chevronDown"></use></svg
2045
+ >Properties
2046
+ </summary>
2047
+ <div>
2048
+ <a href="#state"
2049
+ ><svg
2050
+ class="tsd-kind-icon"
2051
+ viewBox="0 0 24 24"
2052
+ aria-label="Property"
2053
+ >
2054
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2055
+ ><span>$$state</span></a
2056
+ ><a href="#abstract"
2057
+ ><svg
2058
+ class="tsd-kind-icon"
2059
+ viewBox="0 0 24 24"
2060
+ aria-label="Property"
2061
+ >
2062
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2063
+ ><span>abstract</span></a
2064
+ ><a href="#data"
2065
+ ><svg
2066
+ class="tsd-kind-icon"
2067
+ viewBox="0 0 24 24"
2068
+ aria-label="Property"
2069
+ >
2070
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2071
+ ><span>data</span></a
2072
+ ><a href="#dynamic"
2073
+ ><svg
2074
+ class="tsd-kind-icon"
2075
+ viewBox="0 0 24 24"
2076
+ aria-label="Property"
2077
+ >
2078
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2079
+ ><span>dynamic</span></a
2080
+ ><a href="#lazyload"
2081
+ ><svg
2082
+ class="tsd-kind-icon"
2083
+ viewBox="0 0 24 24"
2084
+ aria-label="Property"
2085
+ >
2086
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2087
+ ><span>lazy<wbr />Load</span></a
2088
+ >
2089
+ <ul>
2090
+ <li>
2091
+ <ul>
2092
+ <li>
2093
+ <ul>
2094
+ <li>
2095
+ <ul>
2096
+ <li>
2097
+ <a href="#lifecycle"
2098
+ ><span>Lifecycle</span></a
2099
+ >
2100
+ </li>
2101
+ </ul>
2102
+ </li>
2103
+ <li>
2104
+ <a
2105
+ href="#lazy-loading-state-definitions-future-states"
2106
+ ><span
2107
+ >Lazy loading state definitions (<wbr />Future
2108
+ <wbr />States)</span
2109
+ ></a
2110
+ >
2111
+ </li>
2112
+ <li>
2113
+ <a href="#additional-resources"
2114
+ ><span>Additional resources</span></a
2115
+ >
2116
+ </li>
2117
+ <li>
2118
+ <ul>
2119
+ <li>
2120
+ <a href="#example-statesjs"
2121
+ ><span>Example: states.js</span></a
2122
+ >
2123
+ </li>
2124
+ <li>
2125
+ <a href="#example-lazystatesjs"
2126
+ ><span>Example: lazy.states.js</span></a
2127
+ >
2128
+ </li>
2129
+ </ul>
2130
+ </li>
2131
+ </ul>
2132
+ </li>
2133
+ </ul>
2134
+ </li>
2135
+ </ul>
2136
+ <a href="#name"
2137
+ ><svg
2138
+ class="tsd-kind-icon"
2139
+ viewBox="0 0 24 24"
2140
+ aria-label="Property"
2141
+ >
2142
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2143
+ ><span>name</span></a
2144
+ ><a href="#onenter"
2145
+ ><svg
2146
+ class="tsd-kind-icon"
2147
+ viewBox="0 0 24 24"
2148
+ aria-label="Property"
2149
+ >
2150
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2151
+ ><span>on<wbr />Enter</span></a
2152
+ >
2153
+ <ul>
2154
+ <li>
2155
+ <ul>
2156
+ <li>
2157
+ <ul>
2158
+ <li>
2159
+ <a href="#example-1"><span>Example:</span></a>
2160
+ </li>
2161
+ <li>
2162
+ <ul>
2163
+ <li>
2164
+ <a href="#example-2"
2165
+ ><span>Example:`</span></a
2166
+ >
2167
+ </li>
2168
+ </ul>
2169
+ </li>
2170
+ </ul>
2171
+ </li>
2172
+ </ul>
2173
+ </li>
2174
+ </ul>
2175
+ <a href="#onexit"
2176
+ ><svg
2177
+ class="tsd-kind-icon"
2178
+ viewBox="0 0 24 24"
2179
+ aria-label="Property"
2180
+ >
2181
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2182
+ ><span>on<wbr />Exit</span></a
2183
+ >
2184
+ <ul>
2185
+ <li>
2186
+ <ul>
2187
+ <li>
2188
+ <ul>
2189
+ <li>
2190
+ <a href="#example-3"><span>Example:</span></a>
2191
+ </li>
2192
+ <li>
2193
+ <ul>
2194
+ <li>
2195
+ <a href="#example-4"
2196
+ ><span>Example:`</span></a
2197
+ >
2198
+ </li>
2199
+ </ul>
2200
+ </li>
2201
+ </ul>
2202
+ </li>
2203
+ </ul>
2204
+ </li>
2205
+ </ul>
2206
+ <a href="#onretain"
2207
+ ><svg
2208
+ class="tsd-kind-icon"
2209
+ viewBox="0 0 24 24"
2210
+ aria-label="Property"
2211
+ >
2212
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2213
+ ><span>on<wbr />Retain</span></a
2214
+ >
2215
+ <ul>
2216
+ <li>
2217
+ <ul>
2218
+ <li>
2219
+ <ul>
2220
+ <li>
2221
+ <ul>
2222
+ <li>
2223
+ <a href="#example-5"><span>Example:</span></a>
2224
+ </li>
2225
+ <li>
2226
+ <a href="#example-6"
2227
+ ><span>Example:`</span></a
2228
+ >
2229
+ </li>
2230
+ </ul>
2231
+ </li>
2232
+ </ul>
2233
+ </li>
2234
+ </ul>
2235
+ </li>
2236
+ </ul>
2237
+ <a href="#params"
2238
+ ><svg
2239
+ class="tsd-kind-icon"
2240
+ viewBox="0 0 24 24"
2241
+ aria-label="Property"
2242
+ >
2243
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2244
+ ><span>params</span></a
2245
+ >
2246
+ <ul>
2247
+ <li>
2248
+ <ul>
2249
+ <li>
2250
+ <ul>
2251
+ <li>
2252
+ <ul>
2253
+ <li>
2254
+ <a href="#example-7"><span>Example:</span></a>
2255
+ </li>
2256
+ </ul>
2257
+ </li>
2258
+ </ul>
2259
+ </li>
2260
+ </ul>
2261
+ </li>
2262
+ </ul>
2263
+ <a href="#parent"
2264
+ ><svg
2265
+ class="tsd-kind-icon"
2266
+ viewBox="0 0 24 24"
2267
+ aria-label="Property"
2268
+ >
2269
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2270
+ ><span>parent</span></a
2271
+ >
2272
+ <ul>
2273
+ <li>
2274
+ <ul>
2275
+ <li>
2276
+ <ul>
2277
+ <li>
2278
+ <ul>
2279
+ <li>
2280
+ <a href="#example-8"><span>Example:</span></a>
2281
+ </li>
2282
+ </ul>
2283
+ </li>
2284
+ </ul>
2285
+ </li>
2286
+ </ul>
2287
+ </li>
2288
+ </ul>
2289
+ <a href="#redirectto"
2290
+ ><svg
2291
+ class="tsd-kind-icon"
2292
+ viewBox="0 0 24 24"
2293
+ aria-label="Property"
2294
+ >
2295
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2296
+ ><span>redirect<wbr />To</span></a
2297
+ >
2298
+ <ul>
2299
+ <li>
2300
+ <ul>
2301
+ <li>
2302
+ <ul>
2303
+ <li>
2304
+ <ul>
2305
+ <li>
2306
+ <a href="#example-9"><span>Example:</span></a>
2307
+ </li>
2308
+ </ul>
2309
+ </li>
2310
+ </ul>
2311
+ </li>
2312
+ </ul>
2313
+ </li>
2314
+ </ul>
2315
+ <a href="#reloadonsearch"
2316
+ ><svg
2317
+ class="tsd-kind-icon"
2318
+ viewBox="0 0 24 24"
2319
+ aria-label="Property"
2320
+ >
2321
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2322
+ ><span>reload<wbr />On<wbr />Search</span></a
2323
+ ><a href="#resolve"
2324
+ ><svg
2325
+ class="tsd-kind-icon"
2326
+ viewBox="0 0 24 24"
2327
+ aria-label="Property"
2328
+ >
2329
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2330
+ ><span>resolve</span></a
2331
+ >
2332
+ <ul>
2333
+ <li>
2334
+ <ul>
2335
+ <li>
2336
+ <ul>
2337
+ <li>
2338
+ <a href="#as-an-array"
2339
+ ><span>As an array</span></a
2340
+ >
2341
+ </li>
2342
+ <li>
2343
+ <ul>
2344
+ <li>
2345
+ <a href="#example-10"
2346
+ ><span>Example:</span></a
2347
+ >
2348
+ </li>
2349
+ <li>
2350
+ <a href="#example-11"
2351
+ ><span>Example:</span></a
2352
+ >
2353
+ </li>
2354
+ </ul>
2355
+ </li>
2356
+ <li>
2357
+ <a href="#as-an-object"
2358
+ ><span>As an object</span></a
2359
+ >
2360
+ </li>
2361
+ <li>
2362
+ <ul>
2363
+ <li>
2364
+ <a href="#angularts-example"
2365
+ ><span
2366
+ >Angular<wbr />TS <wbr />Example:</span
2367
+ ></a
2368
+ >
2369
+ </li>
2370
+ </ul>
2371
+ </li>
2372
+ <li>
2373
+ <a href="#lifecycle-1"><span>Lifecycle</span></a>
2374
+ </li>
2375
+ <li>
2376
+ <a href="#injecting-resolves-into-other-things"
2377
+ ><span
2378
+ >Injecting resolves into other things</span
2379
+ ></a
2380
+ >
2381
+ </li>
2382
+ <li>
2383
+ <a href="#injecting-other-things-into-resolves"
2384
+ ><span
2385
+ >Injecting other things into resolves</span
2386
+ ></a
2387
+ >
2388
+ </li>
2389
+ <li>
2390
+ <ul>
2391
+ <li>
2392
+ <a href="#special-injectable-tokens"
2393
+ ><span>Special injectable tokens</span></a
2394
+ >
2395
+ </li>
2396
+ <li>
2397
+ <a href="#example-12"
2398
+ ><span>Example:</span></a
2399
+ >
2400
+ </li>
2401
+ </ul>
2402
+ </li>
2403
+ </ul>
2404
+ </li>
2405
+ </ul>
2406
+ </li>
2407
+ </ul>
2408
+ <a href="#resolvepolicy"
2409
+ ><svg
2410
+ class="tsd-kind-icon"
2411
+ viewBox="0 0 24 24"
2412
+ aria-label="Property"
2413
+ >
2414
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2415
+ ><span>resolve<wbr />Policy</span></a
2416
+ ><a href="#url"
2417
+ ><svg
2418
+ class="tsd-kind-icon"
2419
+ viewBox="0 0 24 24"
2420
+ aria-label="Property"
2421
+ >
2422
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2423
+ ><span>url</span></a
2424
+ ><a href="#views"
2425
+ ><svg
2426
+ class="tsd-kind-icon"
2427
+ viewBox="0 0 24 24"
2428
+ aria-label="Property"
2429
+ >
2430
+ <use href="../assets/icons.svg#icon-1024"></use></svg
2431
+ ><span>views</span></a
2432
+ >
2433
+ <ul>
2434
+ <li>
2435
+ <a href="#example-13"><span>Example:</span></a>
2436
+ </li>
2437
+ </ul>
2438
+ </div>
2439
+ </details>
2440
+ </div>
2441
+ </details>
2442
+ </div>
2443
+ <div class="site-menu">
2444
+ <nav class="tsd-navigation">
2445
+ <a href="../modules.html">AngularTS</a>
2446
+ <ul class="tsd-small-nested-navigation" id="tsd-nav-container">
2447
+ <li>Loading...</li>
2448
+ </ul>
2449
+ </nav>
2450
+ </div>
2451
+ </div>
2452
+ </div>
2453
+ <footer>
2454
+ <p class="tsd-generator">
2455
+ Generated using
2456
+ <a href="https://typedoc.org/" target="_blank">TypeDoc</a>
2457
+ </p>
2458
+ </footer>
2459
+ <div class="overlay"></div>
2460
+ </body>
2461
+ </html>