@angular-wave/angular.ts 0.7.0-beta.1 → 0.7.2

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 (927) hide show
  1. package/.github/workflows/ci.yml +58 -14
  2. package/.github/workflows/gh-pages.yml +75 -0
  3. package/@types/animations/animate.d.ts +11 -4
  4. package/@types/core/compile/attributes.d.ts +5 -2
  5. package/@types/core/compile/compile.d.ts +6 -6
  6. package/@types/core/di/injector.d.ts +1 -2
  7. package/@types/core/di/internal-injector.d.ts +10 -7
  8. package/@types/core/di/ng-module.d.ts +0 -1
  9. package/@types/core/error-handler.d.ts +1 -1
  10. package/@types/core/exception-handler.d.ts +1 -1
  11. package/@types/core/parse/interface.d.ts +3 -3
  12. package/@types/core/pubsub/pubsub.d.ts +21 -0
  13. package/@types/core/sce/sce.d.ts +2 -5
  14. package/@types/core/scope/scope.d.ts +23 -36
  15. package/@types/core/task-tracker-factory.d.ts +10 -5
  16. package/@types/directive/aria/aria.d.ts +4 -1
  17. package/@types/directive/include/include.d.ts +4 -18
  18. package/@types/directive/options/options.d.ts +1 -1
  19. package/@types/injection-tokens.d.ts +20 -0
  20. package/@types/interface.d.ts +4 -4
  21. package/@types/loader.d.ts +1 -0
  22. package/@types/public.d.ts +2 -2
  23. package/@types/router/directives/view-directive.d.ts +0 -2
  24. package/@types/router/params/param.d.ts +1 -1
  25. package/@types/router/state/interface.d.ts +3 -3
  26. package/@types/router/state/state-builder.d.ts +9 -2
  27. package/@types/router/transition/transition-service.d.ts +1 -0
  28. package/@types/services/anchor-scroll.d.ts +0 -1
  29. package/@types/shared/utils.d.ts +4 -14
  30. package/README.md +7 -9
  31. package/dist/angular-ts.esm.js +440 -302
  32. package/dist/angular-ts.umd.js +440 -302
  33. package/dist/angular-ts.umd.min.js +1 -1
  34. package/docs/.cspell.yml +2 -2
  35. package/docs/.github/dependabot.yml +12 -12
  36. package/docs/README.md +10 -7
  37. package/docs/assets/icons/logo.svg +1 -0
  38. package/docs/assets/scss/_variables_project.scss +1 -0
  39. package/docs/content/en/_index.md +5 -64
  40. package/docs/content/en/docs/_index.md +3 -4
  41. package/docs/docker-compose.yaml +1 -0
  42. package/docs/go.mod +1 -1
  43. package/docs/go.sum +6 -6
  44. package/docs/hugo-disabled.toml +6 -7
  45. package/docs/hugo.yaml +45 -64
  46. package/docs/layouts/404.html +2 -8
  47. package/docs/layouts/_markup/render-heading.html +1 -0
  48. package/docs/package-lock.json +2293 -0
  49. package/docs/package.json +18 -7
  50. package/index.html +1 -1
  51. package/package.json +1 -1
  52. package/src/animations/animate-children-directive.js +2 -1
  53. package/src/animations/animate-css.js +2 -2
  54. package/src/animations/animate-runner.js +3 -3
  55. package/src/animations/animate-swap.js +16 -19
  56. package/src/animations/animate.js +3 -1
  57. package/src/animations/shared.js +1 -1
  58. package/src/core/compile/attributes.js +4 -1
  59. package/src/core/compile/compile.js +29 -24
  60. package/src/core/compile/compile.spec.js +368 -371
  61. package/src/core/controller/controller.spec.js +27 -20
  62. package/src/core/di/injector.js +2 -5
  63. package/src/core/di/internal-injector.js +2 -0
  64. package/src/core/di/ng-module.js +19 -7
  65. package/src/core/di/ng-module.spec.js +16 -16
  66. package/src/core/error-handler.ts +1 -1
  67. package/src/core/exception-handler.js +1 -1
  68. package/src/core/filter/filter.js +0 -1
  69. package/src/core/parse/ast/ast.spec.js +1 -9
  70. package/src/core/parse/interface.ts +3 -3
  71. package/src/core/parse/parse.js +6 -6
  72. package/src/core/pubsub/pubsub.js +20 -0
  73. package/src/core/pubsub/pubsub.spec.js +14 -1
  74. package/src/core/sanitize/sanitize-uri.js +1 -0
  75. package/src/core/sce/sce.js +7 -15
  76. package/src/core/scope/scope.js +114 -117
  77. package/src/core/scope/scope.spec.js +11 -11
  78. package/src/core/task-tracker-factory.js +7 -0
  79. package/src/directive/aria/aria.js +11 -10
  80. package/src/directive/attrs/attrs.js +2 -1
  81. package/src/directive/bind/bind.js +2 -3
  82. package/src/directive/channel/channel.js +0 -1
  83. package/src/directive/class/class.js +0 -1
  84. package/src/directive/cloak/cloak.js +0 -1
  85. package/src/directive/include/include.js +22 -11
  86. package/src/directive/include/include.spec.js +1 -0
  87. package/src/directive/input/input-example.html +15 -0
  88. package/src/directive/input/input.js +8 -2
  89. package/src/directive/input/input.spec.js +12 -14
  90. package/src/directive/messages/messages.js +2 -2
  91. package/src/directive/non-bindable/non-bindable.js +0 -1
  92. package/src/directive/observe/test.html +1 -1
  93. package/src/directive/options/options-example.html +13 -0
  94. package/src/directive/options/options.js +33 -21
  95. package/src/directive/options/options.spec.js +207 -146
  96. package/src/directive/repeat/repeat.js +8 -7
  97. package/src/directive/select/select.spec.js +1 -1
  98. package/src/directive/setter/setter.js +1 -1
  99. package/src/directive/setter/setter.spec.js +5 -4
  100. package/src/directive/style/style.spec.js +1 -1
  101. package/src/directive/switch/switch.js +1 -2
  102. package/src/directive/transclude/transclude.js +0 -1
  103. package/src/directive/validators/validators.js +5 -5
  104. package/src/examples/counter.html +20 -0
  105. package/src/filters/order-by.js +2 -1
  106. package/src/filters/order-by.spec.js +4 -4
  107. package/src/index.spec.js +11 -0
  108. package/src/injection-tokens.js +71 -0
  109. package/src/interface.ts +4 -4
  110. package/src/loader.js +2 -0
  111. package/src/public.js +10 -3
  112. package/src/public.spec.js +1 -0
  113. package/src/router/directives/state-directives.js +1 -1
  114. package/src/router/directives/state-directives.spec.js +0 -2
  115. package/src/router/directives/view-directive.js +1 -2
  116. package/src/router/params/param.js +1 -1
  117. package/src/router/state/interface.ts +3 -3
  118. package/src/router/state/state-builder.js +4 -0
  119. package/src/router/state/state-builder.spec.js +21 -15
  120. package/src/router/state/state-registry.js +7 -6
  121. package/src/router/template-factory.spec.js +15 -9
  122. package/src/router/transition/transition-service.js +1 -0
  123. package/src/router/view/view.spec.js +1 -1
  124. package/src/router/view-scroll.spec.js +3 -4
  125. package/src/services/anchor-scroll.html +1 -1
  126. package/src/services/anchor-scroll.js +0 -4
  127. package/src/services/template-request.js +11 -7
  128. package/src/shared/noderef.js +1 -3
  129. package/src/shared/utils.js +5 -22
  130. package/src/src.html +2 -1
  131. package/typedoc/assets/hierarchy.js +1 -1
  132. package/typedoc/assets/navigation.js +1 -1
  133. package/typedoc/assets/search.js +1 -1
  134. package/typedoc/classes/animations_animate-cache.AnimateCacheProvider.html +4 -40
  135. package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +4 -58
  136. package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +4 -40
  137. package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +4 -58
  138. package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +4 -58
  139. package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +4 -69
  140. package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +4 -40
  141. package/typedoc/classes/animations_animate-runner.AnimateRunner.html +4 -263
  142. package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +4 -40
  143. package/typedoc/classes/animations_animate.AnimateProvider.html +42 -108
  144. package/typedoc/classes/animations_animation.AnimationProvider.html +4 -51
  145. package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +4 -115
  146. package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +4 -29
  147. package/typedoc/classes/core_compile_attributes.Attributes.html +19 -227
  148. package/typedoc/classes/core_compile_compile.CompileProvider.html +52 -137
  149. package/typedoc/classes/core_controller_controller.ControllerProvider.html +4 -73
  150. package/typedoc/classes/core_di_internal-injector.InjectorService.html +7 -141
  151. package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +7 -119
  152. package/typedoc/classes/core_di_ng-module.NgModule.html +4 -256
  153. package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +4 -69
  154. package/typedoc/classes/core_filter_filter.FilterProvider.html +4 -69
  155. package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +4 -84
  156. package/typedoc/classes/core_location_location.Location.html +5 -387
  157. package/typedoc/classes/core_location_location.LocationHashbangUrl.html +5 -340
  158. package/typedoc/classes/core_location_location.LocationHtml5Url.html +5 -340
  159. package/typedoc/classes/core_location_location.LocationProvider.html +4 -113
  160. package/typedoc/classes/core_parse_ast_ast.AST.html +4 -359
  161. package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +4 -315
  162. package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +4 -238
  163. package/typedoc/classes/core_parse_parse.ParseProvider.html +4 -51
  164. package/typedoc/classes/core_parse_parser_parser.Parser.html +4 -73
  165. package/typedoc/classes/core_pubsub_pubsub.PubSub.html +4 -146
  166. package/typedoc/classes/core_pubsub_pubsub.PubSubProvider.html +576 -0
  167. package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +4 -62
  168. package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +4 -73
  169. package/typedoc/classes/core_sce_sce.SceProvider.html +10 -63
  170. package/typedoc/classes/core_scope_scope.RootScopeProvider.html +4 -51
  171. package/typedoc/classes/core_scope_scope.Scope.html +49 -1280
  172. package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +4 -84
  173. package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +23 -128
  174. package/typedoc/classes/directive_aria_aria.AriaProvider.html +4 -51
  175. package/typedoc/classes/directive_form_form.FormController.html +4 -429
  176. package/typedoc/classes/directive_model_model.NgModelController.html +4 -983
  177. package/typedoc/classes/loader.Angular.html +46 -179
  178. package/typedoc/classes/router_common_glob.Glob.html +4 -84
  179. package/typedoc/classes/router_common_queue.Queue.html +4 -161
  180. package/typedoc/classes/router_common_trace.Trace.html +4 -249
  181. package/typedoc/classes/router_globals.RouterGlobals.html +4 -117
  182. package/typedoc/classes/router_params_param-factory.ParamFactory.html +4 -73
  183. package/typedoc/classes/router_params_param-type.ParamType.html +4 -150
  184. package/typedoc/classes/router_params_param-types.ParamTypes.html +4 -95
  185. package/typedoc/classes/router_params_param.Param.html +4 -260
  186. package/typedoc/classes/router_params_state-params.StateParams.html +4 -40
  187. package/typedoc/classes/router_path_path-node.PathNode.html +4 -174
  188. package/typedoc/classes/router_path_path-utils.PathUtils.html +4 -128
  189. package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -256
  190. package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +4 -150
  191. package/typedoc/classes/router_state-provider.StateProvider.html +4 -84
  192. package/typedoc/classes/router_state_state-builder.StateBuilder.html +4 -106
  193. package/typedoc/classes/router_state_state-matcher.StateMatcher.html +4 -73
  194. package/typedoc/classes/router_state_state-object.StateObject.html +4 -230
  195. package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +4 -128
  196. package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +5 -246
  197. package/typedoc/classes/router_state_state-service.StateProvider.html +4 -322
  198. package/typedoc/classes/router_state_target-state.TargetState.html +4 -252
  199. package/typedoc/classes/router_state_views.ViewConfig.html +4 -161
  200. package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +4 -179
  201. package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +4 -73
  202. package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +4 -201
  203. package/typedoc/classes/router_transition_reject-factory.Rejection.html +4 -183
  204. package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +4 -117
  205. package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +4 -280
  206. package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +5 -238
  207. package/typedoc/classes/router_transition_transition.Transition.html +4 -648
  208. package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +4 -149
  209. package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +4 -274
  210. package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +4 -95
  211. package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +4 -124
  212. package/typedoc/classes/router_url_url-rules.UrlRules.html +4 -222
  213. package/typedoc/classes/router_url_url-service.UrlService.html +4 -373
  214. package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +4 -69
  215. package/typedoc/classes/router_view_view.ViewService.html +4 -223
  216. package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +4 -164
  217. package/typedoc/classes/services_browser.Browser.html +4 -276
  218. package/typedoc/classes/services_browser.BrowserProvider.html +4 -29
  219. package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +4 -40
  220. package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +4 -40
  221. package/typedoc/classes/services_http_http.HttpProvider.html +4 -84
  222. package/typedoc/classes/services_log.LogProvider.html +4 -91
  223. package/typedoc/classes/services_template-request.TemplateRequestProvider.html +4 -51
  224. package/typedoc/classes/shared_noderef.NodeRef.html +4 -301
  225. package/typedoc/enums/core_parse_ast-type.ASTType.html +4 -212
  226. package/typedoc/enums/router_common_trace.Category.html +4 -80
  227. package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +4 -73
  228. package/typedoc/enums/router_transition_interface.TransitionHookScope.html +4 -40
  229. package/typedoc/enums/router_transition_reject-factory.RejectType.html +4 -80
  230. package/typedoc/functions/animations_animate-cache.animateCache.html +4 -84
  231. package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +4 -29
  232. package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +4 -29
  233. package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +4 -18
  234. package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +4 -18
  235. package/typedoc/functions/animations_shared.applyAnimationStyles.html +4 -18
  236. package/typedoc/functions/animations_shared.applyAnimationToStyles.html +4 -18
  237. package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +4 -18
  238. package/typedoc/functions/animations_shared.applyInlineStyle.html +4 -18
  239. package/typedoc/functions/animations_shared.assertArg.html +4 -18
  240. package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +4 -18
  241. package/typedoc/functions/animations_shared.clearGeneratedClasses.html +4 -18
  242. package/typedoc/functions/animations_shared.concatWithSpace.html +4 -18
  243. package/typedoc/functions/animations_shared.extractElementNode.html +4 -18
  244. package/typedoc/functions/animations_shared.mergeAnimationDetails.html +4 -18
  245. package/typedoc/functions/animations_shared.mergeClasses.html +4 -18
  246. package/typedoc/functions/animations_shared.packageStyles.html +4 -18
  247. package/typedoc/functions/animations_shared.pendClasses.html +4 -18
  248. package/typedoc/functions/animations_shared.prepareAnimationOptions.html +4 -18
  249. package/typedoc/functions/animations_shared.removeFromArray.html +4 -18
  250. package/typedoc/functions/animations_shared.resolveElementClasses.html +4 -18
  251. package/typedoc/functions/animations_shared.stripCommentsFromElement.html +4 -18
  252. package/typedoc/functions/core_controller_controller.identifierForController.html +4 -18
  253. package/typedoc/functions/core_di_injector.annotate.html +4 -18
  254. package/typedoc/functions/core_di_injector.createInjector.html +4 -18
  255. package/typedoc/functions/core_location_location.serverBase.html +4 -18
  256. package/typedoc/functions/core_location_location.stripBaseUrl.html +4 -18
  257. package/typedoc/functions/core_location_location.stripFile.html +4 -18
  258. package/typedoc/functions/core_location_location.stripHash.html +4 -18
  259. package/typedoc/functions/core_parse_interpreter.isAssignable.html +4 -18
  260. package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +4 -18
  261. package/typedoc/functions/core_sce_sce.adjustMatcher.html +4 -18
  262. package/typedoc/functions/core_sce_sce.escapeForRegexp.html +4 -18
  263. package/typedoc/functions/core_scope_scope.createScope.html +4 -18
  264. package/typedoc/functions/core_scope_scope.nextId.html +4 -18
  265. package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +4 -18
  266. package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +4 -18
  267. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +4 -18
  268. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +4 -18
  269. package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +4 -18
  270. package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +4 -18
  271. package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +4 -29
  272. package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +6 -31
  273. package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +4 -29
  274. package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +4 -29
  275. package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +4 -29
  276. package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +4 -18
  277. package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +4 -29
  278. package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +4 -29
  279. package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +4 -29
  280. package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +4 -29
  281. package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +4 -29
  282. package/typedoc/functions/directive_bind_bind.ngBindDirective.html +4 -18
  283. package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +4 -29
  284. package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +4 -18
  285. package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +4 -18
  286. package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +4 -18
  287. package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +4 -18
  288. package/typedoc/functions/directive_events_events.createEventDirective.html +4 -18
  289. package/typedoc/functions/directive_form_form.setupValidity.html +4 -18
  290. package/typedoc/functions/directive_if_if.ngIfDirective.html +4 -29
  291. package/typedoc/functions/directive_include_include.ngIncludeDirective.html +33 -178
  292. package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +4 -29
  293. package/typedoc/functions/directive_init_init.ngInitDirective.html +4 -18
  294. package/typedoc/functions/directive_input_input.badInputChecker.html +4 -18
  295. package/typedoc/functions/directive_input_input.countDecimals.html +4 -18
  296. package/typedoc/functions/directive_input_input.createDateInputType.html +4 -18
  297. package/typedoc/functions/directive_input_input.createDateParser.html +4 -18
  298. package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +4 -18
  299. package/typedoc/functions/directive_input_input.inputDirective.html +4 -29
  300. package/typedoc/functions/directive_input_input.isNumberInteger.html +4 -18
  301. package/typedoc/functions/directive_input_input.isValidForStep.html +4 -18
  302. package/typedoc/functions/directive_input_input.ngValueDirective.html +4 -18
  303. package/typedoc/functions/directive_input_input.numberFormatterParser.html +4 -18
  304. package/typedoc/functions/directive_input_input.numberInputType.html +4 -18
  305. package/typedoc/functions/directive_input_input.rangeInputType.html +4 -18
  306. package/typedoc/functions/directive_input_input.weekParser.html +4 -18
  307. package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +4 -29
  308. package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +4 -29
  309. package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +4 -18
  310. package/typedoc/functions/directive_model_model.ngModelDirective.html +4 -18
  311. package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +4 -18
  312. package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +4 -18
  313. package/typedoc/functions/directive_ref_ref.ngRefDirective.html +4 -29
  314. package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +4 -29
  315. package/typedoc/functions/directive_script_script.scriptDirective.html +4 -29
  316. package/typedoc/functions/directive_select_select.optionDirective.html +4 -29
  317. package/typedoc/functions/directive_select_select.selectDirective.html +4 -18
  318. package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +4 -29
  319. package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +4 -29
  320. package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +4 -29
  321. package/typedoc/functions/directive_style_style.ngStyleDirective.html +4 -18
  322. package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +4 -18
  323. package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +4 -29
  324. package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +4 -18
  325. package/typedoc/functions/filters_filter.filterFilter.html +4 -18
  326. package/typedoc/functions/filters_filters.formatNumber.html +4 -18
  327. package/typedoc/functions/filters_filters.jsonFilter.html +4 -18
  328. package/typedoc/functions/filters_limit-to.limitToFilter.html +4 -18
  329. package/typedoc/functions/filters_order-by.orderByFilter.html +4 -29
  330. package/typedoc/functions/public.publishExternalAPI.html +6 -24
  331. package/typedoc/functions/router_common_glob.hasGlobs.html +4 -18
  332. package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +4 -29
  333. package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +4 -29
  334. package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +4 -29
  335. package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +4 -39
  336. package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +4 -18
  337. package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +4 -18
  338. package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +4 -18
  339. package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +4 -18
  340. package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +4 -18
  341. package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +4 -18
  342. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +4 -18
  343. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +4 -18
  344. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +4 -18
  345. package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +4 -18
  346. package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +4 -18
  347. package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +4 -18
  348. package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +4 -18
  349. package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +4 -18
  350. package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +4 -18
  351. package/typedoc/functions/router_hooks_views.registerActivateViews.html +4 -18
  352. package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +4 -18
  353. package/typedoc/functions/router_path_path-utils.makeTargetState.html +4 -18
  354. package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +4 -29
  355. package/typedoc/functions/router_state-filters._IsStateFilter.html +4 -29
  356. package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +4 -18
  357. package/typedoc/functions/router_state_state-registry.getLocals.html +4 -18
  358. package/typedoc/functions/router_state_views.getViewConfigFactory.html +4 -18
  359. package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +4 -18
  360. package/typedoc/functions/router_transition_hook-registry.makeEvent.html +4 -18
  361. package/typedoc/functions/router_transition_hook-registry.matchState.html +4 -18
  362. package/typedoc/functions/services_browser.trimEmptyHash.html +4 -18
  363. package/typedoc/functions/services_cookie-reader.getCookies.html +4 -18
  364. package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +4 -18
  365. package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +4 -18
  366. package/typedoc/functions/shared_common._removeFrom.html +4 -18
  367. package/typedoc/functions/shared_common.allTrueR.html +4 -18
  368. package/typedoc/functions/shared_common.ancestors.html +4 -18
  369. package/typedoc/functions/shared_common.anyTrueR.html +4 -18
  370. package/typedoc/functions/shared_common.applyPairs.html +4 -18
  371. package/typedoc/functions/shared_common.arrayTuples.html +4 -18
  372. package/typedoc/functions/shared_common.assertFn.html +4 -18
  373. package/typedoc/functions/shared_common.copy.html +4 -18
  374. package/typedoc/functions/shared_common.createProxyFunctions.html +4 -18
  375. package/typedoc/functions/shared_common.defaults.html +4 -18
  376. package/typedoc/functions/shared_common.deregAll.html +4 -18
  377. package/typedoc/functions/shared_common.equals.html +4 -18
  378. package/typedoc/functions/shared_common.filter.html +4 -18
  379. package/typedoc/functions/shared_common.find.html +4 -18
  380. package/typedoc/functions/shared_common.flatten.html +4 -18
  381. package/typedoc/functions/shared_common.flattenR.html +4 -18
  382. package/typedoc/functions/shared_common.inherit.html +4 -18
  383. package/typedoc/functions/shared_common.map.html +4 -18
  384. package/typedoc/functions/shared_common.omit.html +4 -18
  385. package/typedoc/functions/shared_common.pairs.html +4 -18
  386. package/typedoc/functions/shared_common.pick.html +4 -18
  387. package/typedoc/functions/shared_common.pushR.html +4 -18
  388. package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +4 -18
  389. package/typedoc/functions/shared_common.silentRejection.html +4 -18
  390. package/typedoc/functions/shared_common.tail.html +4 -18
  391. package/typedoc/functions/shared_common.uniqR.html +4 -18
  392. package/typedoc/functions/shared_common.unnest.html +4 -18
  393. package/typedoc/functions/shared_common.unnestR.html +4 -18
  394. package/typedoc/functions/shared_dom.appendNodesToElement.html +4 -18
  395. package/typedoc/functions/shared_dom.buildFragment.html +4 -18
  396. package/typedoc/functions/shared_dom.cleanElementData.html +4 -18
  397. package/typedoc/functions/shared_dom.createElementFromHTML.html +4 -18
  398. package/typedoc/functions/shared_dom.createNodelistFromHTML.html +4 -18
  399. package/typedoc/functions/shared_dom.dealoc.html +4 -18
  400. package/typedoc/functions/shared_dom.deleteCacheData.html +4 -18
  401. package/typedoc/functions/shared_dom.domInsert.html +4 -18
  402. package/typedoc/functions/shared_dom.emptyElement.html +4 -18
  403. package/typedoc/functions/shared_dom.getBlockNodes.html +4 -18
  404. package/typedoc/functions/shared_dom.getBooleanAttrName.html +4 -18
  405. package/typedoc/functions/shared_dom.getCacheData.html +4 -18
  406. package/typedoc/functions/shared_dom.getController.html +4 -18
  407. package/typedoc/functions/shared_dom.getExpando.html +4 -18
  408. package/typedoc/functions/shared_dom.getInheritedData.html +4 -18
  409. package/typedoc/functions/shared_dom.getInjector.html +4 -18
  410. package/typedoc/functions/shared_dom.getIsolateScope.html +4 -18
  411. package/typedoc/functions/shared_dom.getOrSetCacheData.html +4 -18
  412. package/typedoc/functions/shared_dom.getScope.html +4 -18
  413. package/typedoc/functions/shared_dom.isRoot.html +4 -18
  414. package/typedoc/functions/shared_dom.isTextNode.html +4 -18
  415. package/typedoc/functions/shared_dom.kebabToCamel.html +4 -18
  416. package/typedoc/functions/shared_dom.parseHtml.html +4 -18
  417. package/typedoc/functions/shared_dom.removeElement.html +4 -18
  418. package/typedoc/functions/shared_dom.removeElementData.html +4 -18
  419. package/typedoc/functions/shared_dom.setCacheData.html +4 -18
  420. package/typedoc/functions/shared_dom.setInheritedData.html +4 -18
  421. package/typedoc/functions/shared_dom.setIsolateScope.html +4 -18
  422. package/typedoc/functions/shared_dom.setScope.html +4 -18
  423. package/typedoc/functions/shared_dom.snakeToCamel.html +4 -18
  424. package/typedoc/functions/shared_dom.startingTag.html +4 -18
  425. package/typedoc/functions/shared_hof.all.html +4 -18
  426. package/typedoc/functions/shared_hof.compose.html +4 -18
  427. package/typedoc/functions/shared_hof.curry.html +4 -18
  428. package/typedoc/functions/shared_hof.is.html +4 -18
  429. package/typedoc/functions/shared_hof.or.html +4 -18
  430. package/typedoc/functions/shared_hof.parse.html +4 -18
  431. package/typedoc/functions/shared_hof.pattern.html +4 -18
  432. package/typedoc/functions/shared_hof.pipe.html +4 -18
  433. package/typedoc/functions/shared_hof.val.html +4 -18
  434. package/typedoc/functions/shared_predicates.isInjectable.html +4 -18
  435. package/typedoc/functions/shared_predicates.isPromise.html +4 -18
  436. package/typedoc/functions/shared_strings.beforeAfterSubstr.html +4 -18
  437. package/typedoc/functions/shared_strings.fnToString.html +4 -18
  438. package/typedoc/functions/shared_strings.functionToString.html +4 -18
  439. package/typedoc/functions/shared_strings.joinNeighborsR.html +4 -18
  440. package/typedoc/functions/shared_strings.kebobString.html +4 -18
  441. package/typedoc/functions/shared_strings.maxLength.html +4 -18
  442. package/typedoc/functions/shared_strings.padString.html +4 -18
  443. package/typedoc/functions/shared_strings.splitOnDelim.html +4 -18
  444. package/typedoc/functions/shared_strings.stringify.html +4 -18
  445. package/typedoc/functions/shared_strings.stripLastPathElement.html +4 -18
  446. package/typedoc/functions/shared_strings.trimHashVal.html +4 -18
  447. package/typedoc/functions/shared_test-utils.bootstrap.html +4 -18
  448. package/typedoc/functions/shared_test-utils.browserTrigger.html +4 -18
  449. package/typedoc/functions/shared_test-utils.wait.html +4 -18
  450. package/typedoc/functions/shared_utils.addDateMinutes.html +4 -18
  451. package/typedoc/functions/shared_utils.arrayRemove.html +4 -18
  452. package/typedoc/functions/shared_utils.assert.html +4 -18
  453. package/typedoc/functions/shared_utils.assertArg.html +4 -18
  454. package/typedoc/functions/shared_utils.assertArgFn.html +4 -18
  455. package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +4 -18
  456. package/typedoc/functions/shared_utils.baseExtend.html +4 -18
  457. package/typedoc/functions/shared_utils.bind.html +4 -18
  458. package/typedoc/functions/shared_utils.concat.html +4 -18
  459. package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +4 -18
  460. package/typedoc/functions/shared_utils.csp.html +4 -18
  461. package/typedoc/functions/shared_utils.directiveNormalize.html +4 -18
  462. package/typedoc/functions/shared_utils.encodeUriQuery.html +4 -18
  463. package/typedoc/functions/shared_utils.encodeUriSegment.html +4 -18
  464. package/typedoc/functions/shared_utils.equals.html +4 -18
  465. package/typedoc/functions/shared_utils.errorHandlingConfig.html +4 -18
  466. package/typedoc/functions/shared_utils.extend.html +4 -18
  467. package/typedoc/functions/shared_utils.fromJson.html +4 -18
  468. package/typedoc/functions/shared_utils.getNgAttribute.html +4 -18
  469. package/typedoc/functions/shared_utils.getNodeName.html +4 -18
  470. package/typedoc/functions/shared_utils.hasAnimate.html +4 -18
  471. package/typedoc/functions/shared_utils.hasCustomToString.html +4 -18
  472. package/typedoc/functions/shared_utils.hasOwn.html +4 -18
  473. package/typedoc/functions/shared_utils.hashKey.html +4 -18
  474. package/typedoc/functions/shared_utils.includes.html +4 -18
  475. package/typedoc/functions/shared_utils.inherit.html +4 -18
  476. package/typedoc/functions/shared_utils.isArrayBuffer.html +4 -18
  477. package/typedoc/functions/shared_utils.isArrayLike.html +7 -18
  478. package/typedoc/functions/shared_utils.isBlankObject.html +8 -18
  479. package/typedoc/functions/shared_utils.isBlob.html +4 -18
  480. package/typedoc/functions/shared_utils.isBoolean.html +4 -18
  481. package/typedoc/functions/shared_utils.isDate.html +4 -18
  482. package/typedoc/functions/shared_utils.isDefined.html +4 -18
  483. package/typedoc/functions/shared_utils.isElement.html +4 -18
  484. package/typedoc/functions/shared_utils.isError.html +4 -18
  485. package/typedoc/functions/shared_utils.isFile.html +4 -18
  486. package/typedoc/functions/shared_utils.isFormData.html +4 -18
  487. package/typedoc/functions/shared_utils.isFunction.html +4 -18
  488. package/typedoc/functions/shared_utils.isNull.html +4 -18
  489. package/typedoc/functions/shared_utils.isNullOrUndefined.html +4 -18
  490. package/typedoc/functions/shared_utils.isNumber.html +4 -18
  491. package/typedoc/functions/shared_utils.isNumberNaN.html +4 -18
  492. package/typedoc/functions/shared_utils.isObject.html +4 -18
  493. package/typedoc/functions/shared_utils.isObjectEmpty.html +4 -18
  494. package/typedoc/functions/shared_utils.isPromiseLike.html +4 -18
  495. package/typedoc/functions/shared_utils.isProxy.html +4 -18
  496. package/typedoc/functions/shared_utils.isRegExp.html +4 -18
  497. package/typedoc/functions/shared_utils.isScope.html +4 -18
  498. package/typedoc/functions/shared_utils.isString.html +4 -18
  499. package/typedoc/functions/shared_utils.isTypedArray.html +4 -18
  500. package/typedoc/functions/shared_utils.isUndefined.html +4 -18
  501. package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +4 -18
  502. package/typedoc/functions/shared_utils.isWindow.html +4 -18
  503. package/typedoc/functions/shared_utils.lowercase.html +4 -18
  504. package/typedoc/functions/shared_utils.mergeClasses.html +4 -18
  505. package/typedoc/functions/shared_utils.minErr.html +4 -18
  506. package/typedoc/functions/shared_utils.nextUid.html +4 -18
  507. package/typedoc/functions/shared_utils.parseKeyValue.html +4 -18
  508. package/typedoc/functions/shared_utils.setHashKey.html +4 -18
  509. package/typedoc/functions/shared_utils.shallowCopy.html +4 -18
  510. package/typedoc/functions/shared_utils.simpleCompare.html +4 -18
  511. package/typedoc/functions/shared_utils.sliceArgs.html +4 -18
  512. package/typedoc/functions/shared_utils.snakeCase.html +4 -18
  513. package/typedoc/functions/shared_utils.stringify.html +4 -18
  514. package/typedoc/functions/shared_utils.timezoneToOffset.html +4 -18
  515. package/typedoc/functions/shared_utils.toDebugString.html +4 -18
  516. package/typedoc/functions/shared_utils.toInt.html +4 -18
  517. package/typedoc/functions/shared_utils.toJson.html +4 -18
  518. package/typedoc/functions/shared_utils.toKeyValue.html +4 -18
  519. package/typedoc/functions/shared_utils.trim.html +4 -18
  520. package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +9 -19
  521. package/typedoc/functions/shared_utils.uppercase.html +4 -18
  522. package/typedoc/hierarchy.html +8 -11
  523. package/typedoc/index.html +5 -8
  524. package/typedoc/interfaces/animations_animate.AnimationOptions.html +4 -62
  525. package/typedoc/interfaces/animations_raf-scheduler.ServiceProvider.html +5 -30
  526. package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +4 -51
  527. package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +4 -51
  528. package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +4 -84
  529. package/typedoc/interfaces/core_compile_compile.SimpleChange.html +4 -40
  530. package/typedoc/interfaces/core_location_location.DefaultPorts.html +4 -51
  531. package/typedoc/interfaces/core_location_location.Html5Mode.html +4 -51
  532. package/typedoc/interfaces/core_parse_ast_ast.Token.html +4 -84
  533. package/typedoc/interfaces/core_parse_interface.CompiledExpressionHandlerMap.html +4 -73
  534. package/typedoc/interfaces/core_parse_interface.CompiledExpressionProps.html +5 -107
  535. package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +4 -40
  536. package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +4 -29
  537. package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +4 -18
  538. package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +4 -51
  539. package/typedoc/interfaces/core_scope_scope.Listener.html +4 -106
  540. package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +4 -73
  541. package/typedoc/interfaces/interface.ChangesObject.html +4 -40
  542. package/typedoc/interfaces/interface.ComponentOptions.html +4 -95
  543. package/typedoc/interfaces/interface.Controller.html +5 -74
  544. package/typedoc/interfaces/interface.Directive.html +6 -207
  545. package/typedoc/interfaces/interface.DirectivePrePost.html +4 -40
  546. package/typedoc/interfaces/interface.NgModelController.html +4 -172
  547. package/typedoc/interfaces/interface.NgModelOptions.html +4 -95
  548. package/typedoc/interfaces/interface.Provider.html +4 -84
  549. package/typedoc/interfaces/interface.TranscludeFunctionObject.html +4 -51
  550. package/typedoc/interfaces/loader.AngularBootstrapConfig.html +4 -29
  551. package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +4 -117
  552. package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +4 -106
  553. package/typedoc/interfaces/router_params_interface.RawParams.html +4 -18
  554. package/typedoc/interfaces/router_params_interface.Replace.html +4 -40
  555. package/typedoc/interfaces/router_resolve_interface.CustomAsyncPolicy.html +4 -18
  556. package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +4 -84
  557. package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +4 -73
  558. package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +4 -40
  559. package/typedoc/interfaces/router_state_interface.HrefOptions.html +4 -62
  560. package/typedoc/interfaces/router_state_interface.LazyLoadResult.html +4 -29
  561. package/typedoc/interfaces/router_state_interface.StateDeclaration.html +11 -212
  562. package/typedoc/interfaces/router_state_interface.TargetStateDef.html +4 -51
  563. package/typedoc/interfaces/router_state_interface.TransitionPromise.html +5 -54
  564. package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +4 -183
  565. package/typedoc/interfaces/router_template-factory.BindingTuple.html +4 -40
  566. package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +4 -73
  567. package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +4 -51
  568. package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +4 -128
  569. package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +4 -73
  570. package/typedoc/interfaces/router_transition_interface.PathType.html +4 -40
  571. package/typedoc/interfaces/router_transition_interface.PathTypes.html +4 -73
  572. package/typedoc/interfaces/router_transition_interface.RegisteredHooks.html +4 -18
  573. package/typedoc/interfaces/router_transition_interface.TransitionCreateHookFn.html +4 -18
  574. package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +4 -18
  575. package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +4 -95
  576. package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +4 -139
  577. package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +4 -18
  578. package/typedoc/interfaces/router_transition_interface.TreeChanges.html +4 -84
  579. package/typedoc/interfaces/router_view_interface.ActiveUIView.html +4 -84
  580. package/typedoc/interfaces/router_view_interface.ViewConfig.html +4 -73
  581. package/typedoc/interfaces/router_view_interface.ViewContext.html +4 -40
  582. package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +4 -29
  583. package/typedoc/interfaces/services_log.LogService.html +4 -80
  584. package/typedoc/interfaces/shared_interface.TypedMap.html +4 -18
  585. package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +4 -40
  586. package/typedoc/modules/animations_animate-cache.html +4 -7
  587. package/typedoc/modules/animations_animate-children-directive.html +4 -9
  588. package/typedoc/modules/animations_animate-css-driver.html +4 -7
  589. package/typedoc/modules/animations_animate-css.html +4 -7
  590. package/typedoc/modules/animations_animate-js-driver.html +4 -7
  591. package/typedoc/modules/animations_animate-js.html +4 -7
  592. package/typedoc/modules/animations_animate-queue.html +4 -7
  593. package/typedoc/modules/animations_animate-runner.html +4 -7
  594. package/typedoc/modules/animations_animate-swap.html +4 -7
  595. package/typedoc/modules/animations_animate.html +4 -7
  596. package/typedoc/modules/animations_animation.html +4 -7
  597. package/typedoc/modules/animations_interface.html +4 -7
  598. package/typedoc/modules/animations_raf-scheduler.html +4 -7
  599. package/typedoc/modules/animations_shared.html +4 -7
  600. package/typedoc/modules/core_cache_cache-factory.html +4 -7
  601. package/typedoc/modules/core_cache_cache.html +4 -7
  602. package/typedoc/modules/core_compile_attributes.html +4 -7
  603. package/typedoc/modules/core_compile_compile.html +4 -7
  604. package/typedoc/modules/core_controller_controller.html +4 -7
  605. package/typedoc/modules/core_di_injector.html +4 -65
  606. package/typedoc/modules/core_di_internal-injector.html +4 -7
  607. package/typedoc/modules/core_di_ng-module.html +4 -34
  608. package/typedoc/modules/core_error-handler.html +4 -7
  609. package/typedoc/modules/core_exception-handler.html +4 -7
  610. package/typedoc/modules/core_filter_filter.html +4 -7
  611. package/typedoc/modules/core_interpolate_interpolate.html +4 -7
  612. package/typedoc/modules/core_location_location.html +4 -7
  613. package/typedoc/modules/core_parse_ast-type.html +4 -7
  614. package/typedoc/modules/core_parse_ast_ast-node.html +4 -7
  615. package/typedoc/modules/core_parse_ast_ast.html +4 -7
  616. package/typedoc/modules/core_parse_interface.html +4 -7
  617. package/typedoc/modules/core_parse_interpreter.html +4 -7
  618. package/typedoc/modules/core_parse_lexer_lexer.html +4 -7
  619. package/typedoc/modules/core_parse_lexer_token.html +4 -7
  620. package/typedoc/modules/core_parse_parse.html +4 -7
  621. package/typedoc/modules/core_parse_parser_parser.html +4 -7
  622. package/typedoc/modules/core_pubsub_pubsub.html +95 -7
  623. package/typedoc/modules/core_sanitize_interface.html +4 -7
  624. package/typedoc/modules/core_sanitize_sanitize-uri.html +4 -7
  625. package/typedoc/modules/core_sce_sce.html +4 -7
  626. package/typedoc/modules/core_scope_scope.html +4 -7
  627. package/typedoc/modules/core_task-tracker-factory.html +134 -7
  628. package/typedoc/modules/core_url-utils_url-utils.html +4 -7
  629. package/typedoc/modules/directive_aria_aria.html +4 -7
  630. package/typedoc/modules/directive_attrs_attrs.html +4 -7
  631. package/typedoc/modules/directive_bind_bind.html +4 -7
  632. package/typedoc/modules/directive_channel_channel.html +4 -7
  633. package/typedoc/modules/directive_class_class.html +4 -7
  634. package/typedoc/modules/directive_cloak_cloak.html +4 -7
  635. package/typedoc/modules/directive_controller_controller.html +4 -7
  636. package/typedoc/modules/directive_events_events.html +4 -7
  637. package/typedoc/modules/directive_form_form.html +4 -7
  638. package/typedoc/modules/directive_if_if.html +4 -7
  639. package/typedoc/modules/directive_include_include.html +4 -7
  640. package/typedoc/modules/directive_init_init.html +4 -7
  641. package/typedoc/modules/directive_input_input.html +4 -7
  642. package/typedoc/modules/directive_messages_messages.html +4 -7
  643. package/typedoc/modules/directive_model-options_model-options.html +4 -9
  644. package/typedoc/modules/directive_model_model.html +4 -7
  645. package/typedoc/modules/directive_non-bindable_non-bindable.html +4 -9
  646. package/typedoc/modules/directive_observe_observe.html +4 -7
  647. package/typedoc/modules/directive_options_options.html +4 -7
  648. package/typedoc/modules/directive_ref_ref.html +4 -7
  649. package/typedoc/modules/directive_repeat_repeat.html +4 -7
  650. package/typedoc/modules/directive_script_script.html +4 -7
  651. package/typedoc/modules/directive_select_select.html +4 -7
  652. package/typedoc/modules/directive_setter_setter.html +4 -7
  653. package/typedoc/modules/directive_show-hide_show-hide.html +4 -7
  654. package/typedoc/modules/directive_style_style.html +4 -7
  655. package/typedoc/modules/directive_switch_switch.html +4 -7
  656. package/typedoc/modules/directive_transclude_transclude.html +4 -7
  657. package/typedoc/modules/directive_validators_validators.html +4 -7
  658. package/typedoc/modules/filters_filter.html +4 -7
  659. package/typedoc/modules/filters_filters.html +4 -7
  660. package/typedoc/modules/filters_limit-to.html +4 -7
  661. package/typedoc/modules/filters_order-by.html +4 -7
  662. package/typedoc/modules/index.html +4 -84
  663. package/typedoc/{variables/index.angular.html → modules/injection-tokens.html} +84 -30
  664. package/typedoc/modules/interface.html +35 -36
  665. package/typedoc/modules/loader.html +4 -7
  666. package/typedoc/modules/public.html +4 -7
  667. package/typedoc/modules/router_common_glob.html +4 -7
  668. package/typedoc/modules/router_common_queue.html +4 -7
  669. package/typedoc/modules/router_common_trace.html +4 -7
  670. package/typedoc/modules/router_directives_state-directives.html +4 -7
  671. package/typedoc/modules/router_directives_view-directive.html +4 -7
  672. package/typedoc/modules/router_globals.html +4 -7
  673. package/typedoc/modules/router_hooks_core-resolvables.html +4 -7
  674. package/typedoc/modules/router_hooks_ignored-transition.html +4 -7
  675. package/typedoc/modules/router_hooks_invalid-transition.html +4 -7
  676. package/typedoc/modules/router_hooks_lazy-load.html +4 -7
  677. package/typedoc/modules/router_hooks_on-enter-exit-retain.html +4 -7
  678. package/typedoc/modules/router_hooks_redirect-to.html +4 -7
  679. package/typedoc/modules/router_hooks_resolve.html +4 -7
  680. package/typedoc/modules/router_hooks_update-globals.html +4 -7
  681. package/typedoc/modules/router_hooks_url.html +4 -7
  682. package/typedoc/modules/router_hooks_views.html +4 -7
  683. package/typedoc/modules/router_params_interface.html +4 -7
  684. package/typedoc/modules/router_params_param-factory.html +4 -7
  685. package/typedoc/modules/router_params_param-type.html +4 -7
  686. package/typedoc/modules/router_params_param-types.html +4 -7
  687. package/typedoc/modules/router_params_param.html +4 -7
  688. package/typedoc/modules/router_params_state-params.html +4 -7
  689. package/typedoc/modules/router_path_path-node.html +4 -7
  690. package/typedoc/modules/router_path_path-utils.html +4 -7
  691. package/typedoc/modules/router_resolve_interface.html +4 -7
  692. package/typedoc/modules/router_resolve_resolvable.html +4 -7
  693. package/typedoc/modules/router_resolve_resolve-context.html +4 -7
  694. package/typedoc/modules/router_state-filters.html +4 -7
  695. package/typedoc/modules/router_state-provider.html +4 -7
  696. package/typedoc/modules/router_state_interface.html +4 -7
  697. package/typedoc/modules/router_state_state-builder.html +4 -7
  698. package/typedoc/modules/router_state_state-matcher.html +4 -7
  699. package/typedoc/modules/router_state_state-object.html +4 -7
  700. package/typedoc/modules/router_state_state-queue-manager.html +4 -7
  701. package/typedoc/modules/router_state_state-registry.html +4 -7
  702. package/typedoc/modules/router_state_state-service.html +4 -7
  703. package/typedoc/modules/router_state_target-state.html +4 -7
  704. package/typedoc/modules/router_state_views.html +4 -7
  705. package/typedoc/modules/router_template-factory.html +4 -7
  706. package/typedoc/modules/router_transition_hook-builder.html +4 -7
  707. package/typedoc/modules/router_transition_hook-registry.html +4 -7
  708. package/typedoc/modules/router_transition_interface.html +4 -7
  709. package/typedoc/modules/router_transition_reject-factory.html +4 -7
  710. package/typedoc/modules/router_transition_transition-event-type.html +4 -9
  711. package/typedoc/modules/router_transition_transition-hook.html +4 -7
  712. package/typedoc/modules/router_transition_transition-service.html +4 -9
  713. package/typedoc/modules/router_transition_transition.html +4 -7
  714. package/typedoc/modules/router_url_url-config.html +4 -7
  715. package/typedoc/modules/router_url_url-matcher.html +4 -7
  716. package/typedoc/modules/router_url_url-rule.html +4 -7
  717. package/typedoc/modules/router_url_url-rules.html +4 -7
  718. package/typedoc/modules/router_url_url-service.html +4 -7
  719. package/typedoc/modules/router_view-scroll.html +4 -7
  720. package/typedoc/modules/router_view_interface.html +4 -7
  721. package/typedoc/modules/router_view_view.html +4 -7
  722. package/typedoc/modules/services_anchor-scroll.html +4 -7
  723. package/typedoc/modules/services_browser.html +4 -7
  724. package/typedoc/modules/services_cookie-reader.html +4 -7
  725. package/typedoc/modules/services_http-backend_http-backend.html +4 -7
  726. package/typedoc/modules/services_http_http.html +4 -7
  727. package/typedoc/modules/services_log.html +4 -7
  728. package/typedoc/modules/services_template-request.html +4 -7
  729. package/typedoc/modules/shared_common.html +4 -7
  730. package/typedoc/modules/shared_constants.html +4 -7
  731. package/typedoc/modules/shared_dom.html +4 -7
  732. package/typedoc/modules/shared_hof.html +4 -7
  733. package/typedoc/modules/shared_interface.html +4 -7
  734. package/typedoc/modules/shared_noderef.html +4 -7
  735. package/typedoc/modules/shared_predicates.html +4 -7
  736. package/typedoc/modules/shared_strings.html +4 -7
  737. package/typedoc/modules/shared_test-utils.html +4 -7
  738. package/typedoc/modules/shared_utils.html +4 -34
  739. package/typedoc/modules.html +31 -8
  740. package/typedoc/types/animations_animate.AnimationMethod.html +4 -18
  741. package/typedoc/types/animations_interface.RafScheduler.html +4 -40
  742. package/typedoc/types/core_cache_cache-factory.TemplateCache.html +4 -18
  743. package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +4 -18
  744. package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +4 -18
  745. package/typedoc/types/core_compile_compile.CompileFn.html +4 -18
  746. package/typedoc/types/core_compile_compile.CompileNodesFn.html +4 -18
  747. package/typedoc/types/core_compile_compile.CompositeLinkFn.html +4 -18
  748. package/typedoc/types/core_compile_compile.NodeLinkFn.html +4 -18
  749. package/typedoc/types/core_compile_compile.PublicLinkFn.html +4 -18
  750. package/typedoc/types/core_compile_compile.TranscludeFn.html +4 -18
  751. package/typedoc/types/core_error-handler.ErrorHandler.html +4 -18
  752. package/typedoc/types/core_exception-handler.LogService.html +4 -18
  753. package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +4 -293
  754. package/typedoc/types/core_parse_interface.CompiledExpression.html +4 -18
  755. package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +7 -20
  756. package/typedoc/types/core_parse_interface.ParseService.html +7 -20
  757. package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +4 -18
  758. package/typedoc/types/core_scope_scope.ListenerFunction.html +4 -18
  759. package/typedoc/types/{interface.AnnotatedFactory.html → core_task-tracker-factory.AnnotatedFactory.html} +9 -19
  760. package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +4 -18
  761. package/typedoc/types/interface.CloneAttachFunction.html +4 -18
  762. package/typedoc/types/interface.ControllerConstructor.html +5 -19
  763. package/typedoc/types/interface.DirectiveCompileFn.html +4 -18
  764. package/typedoc/types/interface.DirectiveController.html +4 -18
  765. package/typedoc/types/interface.DirectiveFactory.html +4 -18
  766. package/typedoc/types/interface.DirectiveLinkFn.html +4 -18
  767. package/typedoc/types/interface.Expression.html +4 -18
  768. package/typedoc/types/interface.FilterFactory.html +4 -18
  769. package/typedoc/types/interface.FilterFn.html +4 -18
  770. package/typedoc/types/interface.Injectable.html +5 -19
  771. package/typedoc/types/interface.InjectableFactory.html +5 -19
  772. package/typedoc/types/interface.OnChangesObject.html +4 -18
  773. package/typedoc/types/interface.TController.html +4 -18
  774. package/typedoc/types/router_resolve_interface.PolicyAsync.html +4 -18
  775. package/typedoc/types/router_resolve_interface.PolicyWhen.html +4 -18
  776. package/typedoc/types/router_state_interface.RedirectToResult.html +4 -18
  777. package/typedoc/types/router_state_interface.ResolveTypes.html +4 -18
  778. package/typedoc/types/router_state_interface.StateOrName.html +4 -18
  779. package/typedoc/types/router_state_interface._StateDeclaration.html +4 -18
  780. package/typedoc/types/router_transition_interface.HookFn.html +4 -18
  781. package/typedoc/types/router_transition_interface.HookMatchCriterion.html +4 -18
  782. package/typedoc/types/router_transition_interface.HookResult.html +4 -18
  783. package/typedoc/types/router_transition_interface.IHookRegistration.html +4 -18
  784. package/typedoc/types/router_transition_interface.IStateMatch.html +4 -18
  785. package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +4 -18
  786. package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +4 -18
  787. package/typedoc/types/services_browser.UrlChangeListener.html +4 -18
  788. package/typedoc/types/services_log.LogCall.html +4 -18
  789. package/typedoc/types/shared_interface.Mapper.html +4 -18
  790. package/typedoc/types/shared_interface.Predicate.html +4 -18
  791. package/typedoc/types/shared_interface.PredicateBinary.html +4 -18
  792. package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +4 -18
  793. package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +4 -18
  794. package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +4 -18
  795. package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +4 -18
  796. package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +4 -18
  797. package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +4 -18
  798. package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +4 -18
  799. package/typedoc/variables/animations_shared.ANIMATION_PROP.html +4 -18
  800. package/typedoc/variables/animations_shared.CSS_PREFIX.html +4 -18
  801. package/typedoc/variables/animations_shared.DELAY_KEY.html +4 -18
  802. package/typedoc/variables/animations_shared.DURATION_KEY.html +4 -18
  803. package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +4 -18
  804. package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +4 -18
  805. package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +4 -18
  806. package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +4 -18
  807. package/typedoc/variables/animations_shared.PROPERTY_KEY.html +4 -18
  808. package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +4 -18
  809. package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +4 -18
  810. package/typedoc/variables/animations_shared.TIMING_KEY.html +4 -18
  811. package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +4 -18
  812. package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +4 -18
  813. package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +4 -18
  814. package/typedoc/variables/animations_shared.TRANSITION_PROP.html +4 -18
  815. package/typedoc/variables/animations_shared.ngMinErr.html +4 -18
  816. package/typedoc/variables/core_cache_cache.Cache.html +4 -18
  817. package/typedoc/variables/core_cache_cache.EXPANDO.html +4 -18
  818. package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +4 -18
  819. package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +4 -18
  820. package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +4 -18
  821. package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +4 -18
  822. package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +4 -18
  823. package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +4 -18
  824. package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +4 -18
  825. package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +4 -18
  826. package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +4 -18
  827. package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +4 -18
  828. package/typedoc/variables/core_pubsub_pubsub.EventBus.html +4 -18
  829. package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +4 -18
  830. package/typedoc/variables/core_scope_scope.NONSCOPE.html +4 -18
  831. package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +4 -18
  832. package/typedoc/variables/core_scope_scope._postUpdateQueue.html +4 -18
  833. package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +4 -18
  834. package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +4 -18
  835. package/typedoc/variables/directive_class_class.ngClassDirective.html +4 -18
  836. package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +4 -18
  837. package/typedoc/variables/directive_class_class.ngClassOddDirective.html +4 -18
  838. package/typedoc/variables/directive_events_events.ngEventDirectives.html +4 -18
  839. package/typedoc/variables/directive_form_form.PENDING_CLASS.html +4 -18
  840. package/typedoc/variables/directive_form_form.formDirective.html +4 -18
  841. package/typedoc/variables/directive_form_form.ngFormDirective.html +4 -18
  842. package/typedoc/variables/directive_form_form.nullFormCtrl.html +4 -18
  843. package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +4 -18
  844. package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +4 -18
  845. package/typedoc/variables/directive_input_input.URL_REGEXP.html +4 -18
  846. package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +4 -18
  847. package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +4 -18
  848. package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +4 -18
  849. package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +4 -18
  850. package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +4 -18
  851. package/typedoc/variables/directive_model_model.ngModelMinErr.html +4 -18
  852. package/typedoc/variables/directive_options_options.ngOptionsDirective.html +20 -22
  853. package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +4 -18
  854. package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +4 -18
  855. package/typedoc/variables/directive_validators_validators.minlengthDirective.html +4 -18
  856. package/typedoc/variables/directive_validators_validators.patternDirective.html +4 -18
  857. package/typedoc/variables/directive_validators_validators.requiredDirective.html +4 -18
  858. package/typedoc/variables/{core_di_injector.path.html → injection-tokens._injectTokens.html} +28 -24
  859. package/typedoc/variables/public.VERSION.html +4 -18
  860. package/typedoc/variables/router_common_trace.trace.html +4 -18
  861. package/typedoc/variables/router_directives_view-directive.ngView.html +4 -23
  862. package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +4 -18
  863. package/typedoc/variables/router_params_param.DefType.html +4 -18
  864. package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +4 -18
  865. package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +4 -18
  866. package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +4 -18
  867. package/typedoc/variables/services_log.LogService.html +4 -25
  868. package/typedoc/variables/shared_common.assertMap.html +4 -18
  869. package/typedoc/variables/shared_common.assertPredicate.html +4 -18
  870. package/typedoc/variables/shared_common.pushTo.html +4 -18
  871. package/typedoc/variables/shared_common.removeFrom.html +4 -18
  872. package/typedoc/variables/shared_constants.ALIASED_ATTR.html +4 -18
  873. package/typedoc/variables/shared_constants.DIRTY_CLASS.html +4 -18
  874. package/typedoc/variables/shared_constants.EMPTY_CLASS.html +4 -18
  875. package/typedoc/variables/shared_constants.INVALID_CLASS.html +4 -18
  876. package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +4 -18
  877. package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +4 -18
  878. package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +4 -18
  879. package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +4 -18
  880. package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +4 -18
  881. package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +4 -18
  882. package/typedoc/variables/shared_constants.VALID_CLASS.html +4 -18
  883. package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +4 -18
  884. package/typedoc/variables/shared_hof.propEq.html +4 -18
  885. package/typedoc/variables/shared_strings.hostRegex.html +4 -18
  886. package/typedoc/variables/shared_strings.splitEqual.html +4 -18
  887. package/typedoc/variables/shared_strings.splitHash.html +4 -18
  888. package/typedoc/variables/shared_strings.splitQuery.html +4 -18
  889. package/typedoc/variables/shared_utils.isProxySymbol.html +4 -18
  890. package/typedoc/variables/shared_utils.ngAttrPrefixes.html +4 -18
  891. package/typedoc.json +3 -1
  892. package/SECURITY.md +0 -16
  893. package/TODO.md +0 -13
  894. package/docs/content/en/about/featured-background.jpg +0 -0
  895. package/docs/content/en/about/index.md +0 -37
  896. package/docs/content/en/blog/_index.md +0 -8
  897. package/docs/content/en/blog/news/_index.md +0 -4
  898. package/docs/content/en/blog/news/first-post/featured-sunset-get.png +0 -0
  899. package/docs/content/en/blog/news/first-post/index.md +0 -46
  900. package/docs/content/en/blog/news/second-post.md +0 -238
  901. package/docs/content/en/blog/releases/_index.md +0 -4
  902. package/docs/content/en/blog/releases/in-depth-monoliths-detailed-spec.md +0 -238
  903. package/docs/content/en/community/_index.md +0 -6
  904. package/docs/content/en/docs/concepts/_index.md +0 -14
  905. package/docs/content/en/docs/contribution-guidelines/_index.md +0 -77
  906. package/docs/content/en/docs/examples/_index.md +0 -13
  907. package/docs/content/en/docs/getting-started/_index.md +0 -35
  908. package/docs/content/en/docs/getting-started/example-page.md +0 -231
  909. package/docs/content/en/docs/overview/_index.md +0 -34
  910. package/docs/content/en/docs/reference/_index.md +0 -12
  911. package/docs/content/en/docs/reference/parameter-reference.md +0 -207
  912. package/docs/content/en/docs/tasks/Ponycopters/_index.md +0 -12
  913. package/docs/content/en/docs/tasks/Ponycopters/configuring-ponycopters.md +0 -230
  914. package/docs/content/en/docs/tasks/Ponycopters/launching-ponycopters.md +0 -230
  915. package/docs/content/en/docs/tasks/_index.md +0 -21
  916. package/docs/content/en/docs/tasks/beds.md +0 -230
  917. package/docs/content/en/docs/tasks/porridge.md +0 -230
  918. package/docs/content/en/docs/tasks/task.md +0 -230
  919. package/docs/content/en/docs/tutorials/_index.md +0 -12
  920. package/docs/content/en/docs/tutorials/multi-bear.md +0 -230
  921. package/docs/content/en/docs/tutorials/tutorial2.md +0 -230
  922. package/docs/content/en/featured-background.jpg +0 -0
  923. package/docs/content/en/search.md +0 -4
  924. package/docs/layouts/_default/_markup/render-heading.html +0 -1
  925. package/public/public/legacy.html +0 -13203
  926. package/typedoc/functions/shared_utils.replaceInline.html +0 -331
  927. package/typedoc/variables/core_di_ng-module.PROVIDE_LITERAL.html +0 -263
@@ -1,5 +1,6 @@
1
1
  import { minErr, hashKey, isArrayLike, hasOwn } from "../../shared/utils.js";
2
2
  import { getBlockNodes } from "../../shared/dom.js";
3
+ import { $injectTokens } from "../../injection-tokens.js";
3
4
 
4
5
  const NG_REMOVED = "$$NG_REMOVED";
5
6
  const ngRepeatMinErr = minErr("ngRepeat");
@@ -23,7 +24,7 @@ const ngRepeatMinErr = minErr("ngRepeat");
23
24
  const VAR_OR_TUPLE_REGEX =
24
25
  /^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/;
25
26
 
26
- ngRepeatDirective.$inject = ["$animate"];
27
+ ngRepeatDirective.$inject = [$injectTokens.$animate];
27
28
 
28
29
  /**
29
30
  * TODO // Add type for animate service
@@ -137,15 +138,15 @@ export function ngRepeatDirective($animate) {
137
138
  let lastBlockMap = Object.create(null);
138
139
  // watch props
139
140
  $scope.$watch(rhs, (collection) => {
140
- var index,
141
+ let index,
141
142
  length,
142
143
  previousNode = $element, // node that cloned nodes should be inserted after
143
144
  // initialized to the comment node anchor
144
- nextNode,
145
- // Same as lastBlockMap but it has the current state. It will become the
145
+ nextNode;
146
+ const // Same as lastBlockMap but it has the current state. It will become the
146
147
  // lastBlockMap on the next iteration.
147
- nextBlockMap = Object.create(null),
148
- collectionLength,
148
+ nextBlockMap = Object.create(null);
149
+ let collectionLength,
149
150
  key,
150
151
  value, // key/value of iteration
151
152
  trackById,
@@ -211,7 +212,7 @@ export function ngRepeatDirective($animate) {
211
212
  }
212
213
 
213
214
  // remove leftover items
214
- for (var blockKey in lastBlockMap) {
215
+ for (let blockKey in lastBlockMap) {
215
216
  block = lastBlockMap[blockKey];
216
217
  elementsToRemove = block.clone;
217
218
  if (hasAnimate) {
@@ -1822,7 +1822,7 @@ describe("select", () => {
1822
1822
  await wait();
1823
1823
  let elems = element.querySelectorAll("option");
1824
1824
 
1825
- for (var i = 0; i < elems.length; i++) {
1825
+ for (let i = 0; i < elems.length; i++) {
1826
1826
  elems[i][0].selected = true;
1827
1827
  }
1828
1828
  browserTrigger(element, "change");
@@ -50,7 +50,7 @@ export function ngSetterDirective($parse, $log) {
50
50
  characterData: true,
51
51
  });
52
52
  } else {
53
- console.warn("ngSetter: Element is not a valid DOM node.");
53
+ $log.warn("ngSetter: Element is not a valid DOM node.");
54
54
  return;
55
55
  }
56
56
 
@@ -2,17 +2,18 @@ import { Angular } from "../../loader.js";
2
2
  import { wait } from "../../shared/test-utils.js";
3
3
 
4
4
  describe("setter", () => {
5
- let $compile, $rootScope, $parse, observerSpy;
5
+ let $compile, $rootScope, $parse, observerSpy, $log;
6
6
 
7
7
  beforeEach(() => {
8
8
  window.angular = new Angular();
9
9
  angular.module("myModule", ["ng"]);
10
10
  angular
11
11
  .bootstrap(document.getElementById("app"), ["myModule"])
12
- .invoke((_$compile_, _$rootScope_, _$parse_) => {
12
+ .invoke((_$compile_, _$rootScope_, _$parse_, _$log_) => {
13
13
  $compile = _$compile_;
14
14
  $rootScope = _$rootScope_;
15
15
  $parse = _$parse_;
16
+ $log = _$log_;
16
17
  });
17
18
  observerSpy = jasmine.createSpyObj("MutationObserver", [
18
19
  "observe",
@@ -42,12 +43,12 @@ describe("setter", () => {
42
43
  });
43
44
 
44
45
  it("should warn if no model expression is provided", async () => {
45
- spyOn(console, "warn");
46
+ spyOn($log, "warn");
46
47
 
47
48
  $compile("<div ng-setter></div>")($rootScope);
48
49
  await wait();
49
50
 
50
- expect(console.warn).toHaveBeenCalledWith(
51
+ expect($log.warn).toHaveBeenCalledWith(
51
52
  "ngSetter: Model expression is not provided.",
52
53
  );
53
54
  });
@@ -11,7 +11,7 @@ describe("ng-style", () => {
11
11
  beforeEach(() => {
12
12
  window.angular = new Angular();
13
13
  window.angular.module("myModule", ["ng"]);
14
- var injector = createInjector(["myModule"]).invoke(
14
+ const injector = createInjector(["myModule"]).invoke(
15
15
  ($rootScope, _$compile_) => {
16
16
  $scope = $rootScope.$new();
17
17
  $compile = _$compile_;
@@ -93,7 +93,7 @@ export function ngSwitchWhenDirective() {
93
93
  transclude: "element",
94
94
  terminal: true,
95
95
  priority: 1200,
96
- restrict: "EA",
96
+
97
97
  require: "^ngSwitch",
98
98
  link(scope, element, attrs, ctrl, $transclude) {
99
99
  const cases = attrs["ngSwitchWhen"]
@@ -120,7 +120,6 @@ export function ngSwitchWhenDirective() {
120
120
  */
121
121
  export function ngSwitchDefaultDirective() {
122
122
  return {
123
- restrict: "EA",
124
123
  transclude: "element",
125
124
  terminal: true,
126
125
  priority: 1200,
@@ -27,7 +27,6 @@ export const ngTranscludeDirective = [
27
27
  */
28
28
  function ($compile) {
29
29
  return {
30
- restrict: "EA",
31
30
  compile: function ngTranscludeCompile(tElement) {
32
31
  // Remove and cache any original content to act as a fallback
33
32
  const fallbackLinkFn = $compile(tElement.childNodes);
@@ -126,8 +126,8 @@ export const patternDirective = [
126
126
  restrict: "A",
127
127
  require: "?ngModel",
128
128
  compile: (_Elm, tAttr) => {
129
- var patternExp;
130
- var parseFn;
129
+ let patternExp;
130
+ let parseFn;
131
131
 
132
132
  if (tAttr["ngPattern"]) {
133
133
  patternExp = tAttr["ngPattern"];
@@ -150,7 +150,7 @@ export const patternDirective = [
150
150
  return function (scope, elm, attr, ctrl) {
151
151
  if (!ctrl) return;
152
152
 
153
- var attrVal = attr["pattern"];
153
+ let attrVal = attr["pattern"];
154
154
 
155
155
  if (attr["ngPattern"]) {
156
156
  attrVal = parseFn(scope);
@@ -158,9 +158,9 @@ export const patternDirective = [
158
158
  patternExp = attr["pattern"];
159
159
  }
160
160
 
161
- var regexp = parsePatternAttr(attrVal, patternExp, elm);
161
+ let regexp = parsePatternAttr(attrVal, patternExp, elm);
162
162
  attr.$observe("pattern", function (newVal) {
163
- var oldRegexp = regexp;
163
+ const oldRegexp = regexp;
164
164
 
165
165
  regexp = parsePatternAttr(newVal, patternExp, elm);
166
166
 
@@ -0,0 +1,20 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>AngularTS</title>
6
+ <link rel="shortcut icon" type="image/png" href="/images/favicon.ico" />
7
+ <script type="module" src="/src/index.js"></script>
8
+ <link rel="stylesheet" href="/css/angular.css" />
9
+ <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
10
+ </head>
11
+ <body ng-app ng-cloak>
12
+ <button
13
+ class="bg-gray-100 p-2 rounded-md outline outline-gray-950/10 m-6"
14
+ ng-init="count = 0"
15
+ ng-click="count = count + 1"
16
+ >
17
+ Count is: {{ count }}
18
+ </button>
19
+ </body>
20
+ </html>
@@ -6,8 +6,9 @@ import {
6
6
  isString,
7
7
  minErr,
8
8
  } from "../shared/utils.js";
9
+ import { $injectTokens } from "../injection-tokens.js";
9
10
 
10
- orderByFilter.$inject = ["$parse"];
11
+ orderByFilter.$inject = [$injectTokens.$parse];
11
12
 
12
13
  /**
13
14
  * @returns {import('../interface.ts').FilterFn}
@@ -8,8 +8,8 @@ describe("Filter: orderBy", () => {
8
8
  beforeEach(() => {
9
9
  window.angular = new Angular();
10
10
  window.angular.module("myModule", ["ng"]);
11
- var injector = createInjector(["myModule"]);
12
- var $filter = injector.get("$filter");
11
+ const injector = createInjector(["myModule"]);
12
+ const $filter = injector.get("$filter");
13
13
  orderBy = orderByFilter = $filter("orderBy");
14
14
  });
15
15
 
@@ -710,8 +710,8 @@ describe("Filter: orderBy", () => {
710
710
  beforeEach(() => {
711
711
  window.angular = new Angular();
712
712
  window.angular.module("myModule", ["ng"]);
713
- var injector = createInjector(["myModule"]);
714
- var $filter = injector.get("$filter");
713
+ const injector = createInjector(["myModule"]);
714
+ const $filter = injector.get("$filter");
715
715
  orderBy = function (collection) {
716
716
  const args = Array.prototype.slice.call(arguments, 0);
717
717
  args[0] = arrayLike(args[0]);
@@ -0,0 +1,11 @@
1
+ import { angular } from "./index.js";
2
+
3
+ describe("index", () => {
4
+ it("exports angular", () => {
5
+ expect(angular).toBeDefined();
6
+ });
7
+
8
+ it("initializes ng modules", async () => {
9
+ expect(angular.bootsrappedModules[0]).toEqual("ng");
10
+ });
11
+ });
@@ -0,0 +1,71 @@
1
+ /**
2
+ * A helper list of tokens matching the standard injectables that come predefined in the core `ng` module.
3
+ * These string tokens are commonly injected into services, directives, or components via `$inject`.
4
+ *
5
+ * Example:
6
+ * ```js
7
+ *
8
+ * myDirective.$inject = [
9
+ * angular.$injectTokens.$animate,
10
+ * angular.$injectTokens.$templateRequest,
11
+ * ];
12
+ * ```
13
+ * @type Readonly<Record<string, string>>
14
+ */
15
+ export const $injectTokens = Object.freeze({
16
+ $$AnimateRunner: "$$AnimateRunner",
17
+ $$animateAsyncRun: "$$animateAsyncRun",
18
+ $$animateCache: "$$animateCache",
19
+ $$animateCssDriver: "$$animateCssDriver",
20
+ $$animateJs: "$$animateJs",
21
+ $$animateJsDriver: "$$animateJsDriver",
22
+ $$animateQueue: "$$animateQueue",
23
+ $$animation: "$$animation",
24
+ $$rAFScheduler: "$$rAFScheduler",
25
+ $$taskTrackerFactory: "$$taskTrackerFactory",
26
+ $anchorScroll: "$anchorScroll",
27
+ $animate: "$animate",
28
+ $animateCss: "$animateCss",
29
+ $aria: "$aria",
30
+ $browser: "$browser",
31
+ $controller: "$controller",
32
+ $eventBus: "$eventBus",
33
+ $exceptionHandler: "$exceptionHandler",
34
+ $filter: "$filter",
35
+ $http: "$http",
36
+ $httpBackend: "$httpBackend",
37
+ $httpParamSerializer: "$httpParamSerializer",
38
+ $interpolate: "$interpolate",
39
+ $location: "$location",
40
+ $log: "$log",
41
+ $ngViewScroll: "$ngViewScroll",
42
+ $parse: "$parse",
43
+ $rootScope: "$rootScope",
44
+ $routerGlobals: "$routerGlobals",
45
+ $sce: "$sce",
46
+ $sceDelegate: "$sceDelegate",
47
+ $state: "$state",
48
+ $stateRegistry: "$stateRegistry",
49
+ $templateCache: "$templateCache",
50
+ $templateFactory: "$templateFactory",
51
+ $templateRequest: "$templateRequest",
52
+ $transitions: "$transitions",
53
+ $urlConfig: "$urlConfig",
54
+ $urlService: "$urlService",
55
+ $view: "$view",
56
+ // provide literals
57
+ $provide: "$provide",
58
+ $injector: "$injector",
59
+ $compileProvider: "$compileProvider",
60
+ $animateProvider: "$animateProvider",
61
+ $filterProvider: "$filterProvider",
62
+ $controllerProvider: "$controllerProvider",
63
+ });
64
+
65
+ /**
66
+ * Utility for mapping to service-names to providers
67
+ * @param {String[]} services
68
+ */
69
+ export function provider(services) {
70
+ return services.map((x) => x + "Provider");
71
+ }
package/src/interface.ts CHANGED
@@ -104,7 +104,7 @@ export type FilterFn = (input: any, ...args: any[]) => any;
104
104
  export type FilterFactory = (...args: any[]) => FilterFn;
105
105
 
106
106
  /**
107
- * A controller constructor function used in AngularJS.
107
+ * A controller constructor function used in AngularTS.
108
108
  */
109
109
  export type ControllerConstructor = (...args: any[]) => void | Controller;
110
110
 
@@ -124,7 +124,7 @@ export interface ChangesObject<T = any> {
124
124
  export type OnChangesObject = Record<string, ChangesObject>;
125
125
 
126
126
  /**
127
- * AngularJS component lifecycle interface.
127
+ * AngularTS component lifecycle interface.
128
128
  */
129
129
  export interface Controller {
130
130
  /** Optional controller name (used in debugging) */
@@ -201,12 +201,12 @@ export type DirectiveCompileFn = (
201
201
  ) => void | DirectiveLinkFn | DirectivePrePost;
202
202
 
203
203
  /**
204
- * Defines the structure of an AngularJS directive.
204
+ * Defines the structure of an AngularTS directive.
205
205
  */
206
206
  export interface Directive {
207
207
  /** Optional name (usually inferred) */
208
208
  name?: string;
209
- /** Restict option: 'A' and/or 'E' */
209
+ /** Restrict option: 'A' and/or 'E'. Defaults to 'EA' */
210
210
  restrict?: string;
211
211
  /** Compile function for the directive */
212
212
  compile?: DirectiveCompileFn;
package/src/loader.js CHANGED
@@ -19,6 +19,7 @@ import { publishExternalAPI } from "./public.js";
19
19
  import { VERSION } from "./public.js";
20
20
  import { unnestR } from "./shared/common.js";
21
21
  import { EventBus } from "./core/pubsub/pubsub.js";
22
+ import { $injectTokens } from "./injection-tokens.js";
22
23
 
23
24
  const ngMinErr = minErr("ng");
24
25
  const $injectorMinErr = minErr("$injector");
@@ -57,6 +58,7 @@ export class Angular {
57
58
  this.errorHandlingConfig = errorHandlingConfig;
58
59
 
59
60
  window["angular"] = this;
61
+ this.$injectTokens = $injectTokens;
60
62
  publishExternalAPI(this);
61
63
  }
62
64
 
package/src/public.js CHANGED
@@ -1,3 +1,4 @@
1
+ // @private
1
2
  import { CompileProvider } from "./core/compile/compile.js";
2
3
  import {
3
4
  inputDirective,
@@ -127,14 +128,14 @@ import {
127
128
  } from "./router/directives/view-directive.js";
128
129
  import { ngChannelDirective } from "./directive/channel/channel.js";
129
130
  import { ngSetterDirective } from "./directive/setter/setter.js";
131
+ import { PubSubProvider } from "./core/pubsub/pubsub.js";
130
132
 
131
- //injected by Rollup plugin
132
133
  export const VERSION = "[VI]{version}[/VI]";
133
134
 
134
135
  /**
135
- * Initializes `ng`, `animate`, `message`, `aria` and `router` modules.
136
+ * Initializes core `ng` module.
136
137
  * @param {import('./loader.js').Angular} angular
137
- * @returns {import('./core/di/ng-module.js').NgModule} `ng`module
138
+ * @returns {import('./core/di/ng-module.js').NgModule} `ng` module
138
139
  */
139
140
  export function publishExternalAPI(angular) {
140
141
  const ng = angular
@@ -143,6 +144,7 @@ export function publishExternalAPI(angular) {
143
144
  [],
144
145
  [
145
146
  "$provide",
147
+ /** @type {import('./interface.js').Provider} */
146
148
  ($provide) => {
147
149
  // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.
148
150
  $provide.provider({
@@ -266,12 +268,17 @@ export function publishExternalAPI(angular) {
266
268
  $templateFactory: TemplateFactoryProvider,
267
269
  $urlService: UrlService,
268
270
  $stateRegistry: StateRegistryProvider,
271
+ $eventBus: PubSubProvider,
269
272
  });
270
273
  },
271
274
  ],
272
275
  )
273
276
  .factory("$stateParams", [
274
277
  "$routerGlobals",
278
+ /**
279
+ * @param {import('./router/globals.js').RouterGlobals} globals
280
+ * @returns {import('./router/params/state-params.js').StateParams }
281
+ */
275
282
  function (globals) {
276
283
  return globals.params;
277
284
  },
@@ -9,6 +9,7 @@ describe("public", () => {
9
9
  it("sets up the angular object and the module loader", () => {
10
10
  expect(window.angular).toBeDefined();
11
11
  expect(window.angular.module).toBeDefined();
12
+ expect(window.angular.$injectTokens).toBeDefined();
12
13
  });
13
14
 
14
15
  it("sets up the ng module", () => {
@@ -59,7 +59,7 @@ function clickHook(el, $state, type, getDef, scope) {
59
59
  // HACK: This is to allow ng-clicks to be processed before the transition is initiated:
60
60
  const transition = setTimeout(function () {
61
61
  if (!el.getAttribute("disabled")) {
62
- var res = $state.go(
62
+ const res = $state.go(
63
63
  target.ngState,
64
64
  target.ngStateParams,
65
65
  target.ngStateOpts,
@@ -937,7 +937,6 @@ describe("ngSrefActive", () => {
937
937
  url: "/lazy",
938
938
  lazyLoad: () => {
939
939
  return Promise.resolve().then(() => {
940
- debugger;
941
940
  _stateProvider
942
941
  .state({ name: "contacts.lazy", abstract: true, url: "/lazy" })
943
942
  .state({ name: "contacts.lazy.s1", url: "/s1" })
@@ -949,7 +948,6 @@ describe("ngSrefActive", () => {
949
948
  app.innerHTML =
950
949
  '<div ng-sref-active="active"><a ng-sref="contacts.lazy.s1">Lazy</a></div><div ng-sref-active="active"><a ng-sref="contacts.lazy.s2"></a></div>';
951
950
  $compile(app)($rootScope);
952
- debugger;
953
951
  $state.transitionTo("contacts.lazy.s1");
954
952
  await wait(100);
955
953
 
@@ -178,7 +178,7 @@ export let ngView = [
178
178
  };
179
179
  const directive = {
180
180
  count: 0,
181
- restrict: "EA",
181
+
182
182
  terminal: true,
183
183
  priority: 400,
184
184
  transclude: "element",
@@ -313,7 +313,6 @@ export function $ViewDirectiveFill($compile, $controller, $transitions) {
313
313
  const getControllerAs = parse("viewDecl.controllerAs");
314
314
  const getResolveAs = parse("viewDecl.resolveAs");
315
315
  return {
316
- restrict: "EA",
317
316
  priority: -400,
318
317
  compile: function (tElement) {
319
318
  const initial = tElement.innerHTML;
@@ -8,7 +8,7 @@ const isShorthand = (cfg) =>
8
8
  Object.prototype.hasOwnProperty.bind(cfg || {}),
9
9
  ).length === 0;
10
10
 
11
- var DefType;
11
+ let DefType;
12
12
  (function (DefType) {
13
13
  DefType[(DefType["PATH"] = 0)] = "PATH";
14
14
  DefType[(DefType["SEARCH"] = 1)] = "SEARCH";
@@ -459,10 +459,10 @@ export interface StateDeclaration {
459
459
  * - Each key (string) is the name of the dependency.
460
460
  * - Each value (function) is an injectable function which returns the dependency, or a promise for the dependency.
461
461
  *
462
- * This style is based on AngularJS injectable functions, but can be used with any UI-Router implementation.
463
- * If your code will be minified, the function should be ["annotated" in the AngularJS manner](https://docs.angularjs.org/guide/di#dependency-annotation).
462
+ * This style is based on AngularTS injectable functions, but can be used with any UI-Router implementation.
463
+ * If your code will be minified, the function should be ["annotated" in the AngularTS manner](https://docs.angularjs.org/guide/di#dependency-annotation).
464
464
  *
465
- * #### AngularJS Example:
465
+ * #### AngularTS Example:
466
466
  * ```js
467
467
  * resolve: {
468
468
  * // If you inject `myStateDependency` into a controller, you'll get "abc"
@@ -263,6 +263,10 @@ export function resolvablesBuilder(state) {
263
263
  * using the [[builder]] method.
264
264
  */
265
265
  export class StateBuilder {
266
+ /**
267
+ * @param {import('./state-matcher.js').StateMatcher} matcher
268
+ * @param urlService
269
+ */
266
270
  constructor(matcher, urlService) {
267
271
  this.matcher = matcher;
268
272
  this.$injector = undefined;
@@ -1,22 +1,28 @@
1
1
  import { StateBuilder } from "./state-builder.js";
2
+ import { Angular } from "../../loader.js";
2
3
 
3
4
  // TODO refactor this to url service as it is using the provider right now
4
- xdescribe("StateBuilder", function () {
5
+ describe("StateBuilder", function () {
5
6
  const parent = { name: "" };
6
- let builder,
7
- matcher,
8
- urlMatcherFactoryProvider = {
9
- compile: function () {},
10
- isMatcher: function () {},
11
- };
7
+ let builder;
8
+ let $stateRegistry;
12
9
 
13
10
  beforeEach(function () {
14
- matcher = new StateBuilder({});
15
- builder = new StateBuilder(matcher, urlMatcherFactoryProvider);
16
- builder.builder("views", ng1ViewsBuilder);
11
+ window.angular = new Angular();
12
+ window.angular.module("default", []);
13
+ let $injector = window.angular.bootstrap(document.getElementById("app"), [
14
+ "default",
15
+ ]);
16
+ $stateRegistry = $injector.get("$stateRegistry");
17
+ builder = $stateRegistry.builder;
18
+ });
19
+
20
+ it("expect it to be configured by state registry", () => {
21
+ expect($stateRegistry).toBeDefined();
22
+ expect($stateRegistry.builder).toBeDefined();
17
23
  });
18
24
 
19
- xit("should use the state object to build a default view, when no `views` property is found", function () {
25
+ it("should use the state object to build a default view, when no `views` property is found", function () {
20
26
  const config = {
21
27
  url: "/foo",
22
28
  templateUrl: "/foo.html",
@@ -27,7 +33,7 @@ xdescribe("StateBuilder", function () {
27
33
 
28
34
  expect(built.$default).not.toEqual(config);
29
35
  expect(built.$default).toEqual(
30
- expect.objectContaining({
36
+ jasmine.objectContaining({
31
37
  templateUrl: "/foo.html",
32
38
  controller: "FooController",
33
39
  resolveAs: "$resolve",
@@ -35,7 +41,7 @@ xdescribe("StateBuilder", function () {
35
41
  );
36
42
  });
37
43
 
38
- xit("It should use the views object to build views, when defined", function () {
44
+ it("It should use the views object to build views, when defined", function () {
39
45
  const config = { a: { foo: "bar", controller: "FooController" } };
40
46
  const builtViews = builder.builder("views")({
41
47
  parent: parent,
@@ -45,7 +51,7 @@ xdescribe("StateBuilder", function () {
45
51
  expect(builtViews.a.controller).toEqual(config.a.controller);
46
52
  });
47
53
 
48
- xit("should not allow a view config with both component and template keys", function () {
54
+ it("should not allow a view config with both component and template keys", function () {
49
55
  const config = {
50
56
  name: "foo",
51
57
  url: "/foo",
@@ -69,7 +75,7 @@ xdescribe("StateBuilder", function () {
69
75
  ).toThrow();
70
76
  });
71
77
 
72
- xit("should replace a resolve: string value with a function that injects the service of the same name", function () {
78
+ it("should replace a resolve: string value with a function that injects the service of the same name", function () {
73
79
  const config = { resolve: { foo: "bar" } };
74
80
  expect(builder.builder("resolvables")).toBeDefined();
75
81
  const built = builder.builder("resolvables")(config);
@@ -6,6 +6,7 @@ import { propEq } from "../../shared/hof.js";
6
6
  import { ResolveContext } from "../resolve/resolve-context.js";
7
7
  import { ng1ViewsBuilder } from "./views.js";
8
8
  import { isString } from "../../shared/utils.js";
9
+ import { $injectTokens, provider } from "../../injection-tokens.js";
9
10
 
10
11
  /** @typedef {import('../../interface.ts').ServiceProvider} ServiceProvider } */
11
12
  /**
@@ -16,12 +17,12 @@ import { isString } from "../../shared/utils.js";
16
17
  * @implements {ServiceProvider}
17
18
  */
18
19
  export class StateRegistryProvider {
19
- static $inject = [
20
- "$urlServiceProvider",
21
- "$stateProvider",
22
- "$routerGlobalsProvider",
23
- "$viewProvider",
24
- ];
20
+ static $inject = provider([
21
+ $injectTokens.$urlService,
22
+ $injectTokens.$state,
23
+ $injectTokens.$routerGlobals,
24
+ $injectTokens.$view,
25
+ ]);
25
26
 
26
27
  /**
27
28
  * @param urlService
@@ -10,19 +10,26 @@ describe("templateFactory", () => {
10
10
  $scope,
11
11
  $compile,
12
12
  $stateRegistry,
13
- $stateService;
13
+ $stateService,
14
+ error;
14
15
 
15
16
  beforeEach(() => {
16
17
  window.angular = new Angular();
17
- window.angular.module("defaultModule", []);
18
+ window.angular
19
+ .module("defaultModule", [])
20
+ .decorator("$exceptionHandler", () => {
21
+ return (exception) => {
22
+ error = exception.message;
23
+ };
24
+ });
18
25
  $injector = window.angular.bootstrap(document.getElementById("app"), [
19
26
  "defaultModule",
20
27
  ]);
21
28
  $injector.invoke(
22
29
  (_$templateFactory_, _$httpBackend_, _$sce_, $rootScope) => {
23
- ($templateFactory = _$templateFactory_),
24
- ($httpBackend = _$httpBackend_),
25
- ($sce = _$sce_);
30
+ $templateFactory = _$templateFactory_;
31
+ $httpBackend = _$httpBackend_;
32
+ $sce = _$sce_;
26
33
  $scope = $rootScope;
27
34
  },
28
35
  );
@@ -39,13 +46,12 @@ describe("templateFactory", () => {
39
46
  expect(await res).toEqual("Hello");
40
47
  });
41
48
 
42
- xit("rejects untrusted URLs", async () => {
49
+ it("rejects untrusted URLs", async () => {
43
50
  let error = "No error thrown";
44
51
  try {
45
- $templateFactory.fromUrl("http://evil.com/views/view.html");
46
- await wait();
52
+ await $templateFactory.fromUrl("http://evil.com/views/view.html");
47
53
  } catch (e) {
48
- error = e.message;
54
+ error = e;
49
55
  }
50
56
  expect(error).toMatch(/sce:insecurl/);
51
57
  });