@angular-wave/angular.ts 0.1.0 → 0.1.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.
- package/README.md +2 -10
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +3 -3
- package/src/animations/animate-css.js +6 -2
- package/src/animations/animate.js +1 -17
- package/src/core/compile/attributes.js +0 -20
- package/src/core/compile/compile.js +0 -5
- package/src/core/controller/controller.js +1 -9
- package/src/core/exception-handler.js +0 -3
- package/src/core/interpolate/interpolate.js +0 -14
- package/src/core/q/q.js +0 -5
- package/src/core/sce/sce.js +0 -400
- package/src/core/sce/sce.md +300 -0
- package/src/core/scope/scope.js +1 -75
- package/src/core/url-utils/url-utils.js +0 -47
- package/src/core/url-utils/url-utils.md +46 -0
- package/src/directive/aria/aria.js +1 -6
- package/src/directive/class/class.js +0 -16
- package/src/directive/form/form.js +0 -41
- package/src/directive/model/model.js +3 -49
- package/src/directive/ref/ref.js +0 -5
- package/src/directive/script/script.js +0 -15
- package/src/directive/script/script.md +11 -0
- package/src/directive/select/select.js +0 -13
- package/src/directive/transclude/transclude.js +0 -5
- package/src/directive/validators/validators.js +0 -15
- package/src/router/directives/view-directive.js +0 -11
- package/src/services/browser.js +0 -8
- package/src/services/cache-factory.js +0 -42
- package/src/services/http/http.js +0 -17
- package/src/services/http-backend/http-backend.js +0 -4
- package/src/services/log.js +4 -9
- package/src/types.js +9 -17
- package/typedoc/.nojekyll +1 -0
- package/typedoc/assets/highlight.css +162 -0
- package/typedoc/assets/icons.js +18 -0
- package/typedoc/assets/icons.svg +1 -0
- package/typedoc/assets/main.js +60 -0
- package/typedoc/assets/navigation.js +1 -0
- package/typedoc/assets/search.js +1 -0
- package/typedoc/assets/style.css +1448 -0
- package/typedoc/classes/animations_animate.AnimateProvider.html +71 -0
- package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +3 -0
- package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +3 -0
- package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +4 -0
- package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +4 -0
- package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +4 -0
- package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +5 -0
- package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +3 -0
- package/typedoc/classes/animations_animate_runner.AnimateRunner.html +22 -0
- package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +3 -0
- package/typedoc/classes/animations_animation.__AnimationProvider.html +4 -0
- package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +6 -0
- package/typedoc/classes/core_compile_attributes.Attributes.html +51 -0
- package/typedoc/classes/core_compile_compile._CompileProvider.html +98 -0
- package/typedoc/classes/core_controller_controller._ControllerProvider.html +18 -0
- package/typedoc/classes/core_di_internal_injector.InjectorService.html +20 -0
- package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +21 -0
- package/typedoc/classes/core_di_ng_module.NgModule.html +34 -0
- package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +3 -0
- package/typedoc/classes/core_filter_filter._FilterProvider.html +5 -0
- package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +25 -0
- package/typedoc/classes/core_interval_interval._IntervalProvider.html +3 -0
- package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +3 -0
- package/typedoc/classes/core_location_location.Location.html +94 -0
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +101 -0
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +99 -0
- package/typedoc/classes/core_location_location._LocationProvider.html +27 -0
- package/typedoc/classes/core_parser_ast.AST.html +93 -0
- package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +144 -0
- package/typedoc/classes/core_parser_lexer.Lexer.html +64 -0
- package/typedoc/classes/core_parser_parse._ParseProvider.html +19 -0
- package/typedoc/classes/core_parser_parser.Parser.html +8 -0
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +71 -0
- package/typedoc/classes/core_q_q._QProvider.html +9 -0
- package/typedoc/classes/core_q_q.__QProvider.html +4 -0
- package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +32 -0
- package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +67 -0
- package/typedoc/classes/core_sce_sce._SceProvider.html +7 -0
- package/typedoc/classes/core_scope_scope.Scope.html +350 -0
- package/typedoc/classes/core_scope_scope._RootScopeProvider.html +10 -0
- package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +29 -0
- package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +3 -0
- package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +3 -0
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +14 -0
- package/typedoc/classes/directive_form_form.FormController.html +138 -0
- package/typedoc/classes/directive_model_model.NgModelController.html +235 -0
- package/typedoc/classes/loader.Angular.html +68 -0
- package/typedoc/classes/router_common_glob.Glob.html +10 -0
- package/typedoc/classes/router_common_queue.Queue.html +14 -0
- package/typedoc/classes/router_common_trace.Trace.html +42 -0
- package/typedoc/classes/router_globals.UIRouterGlobals.html +12 -0
- package/typedoc/classes/router_params_param.Param.html +34 -0
- package/typedoc/classes/router_params_param_factory.ParamFactory.html +6 -0
- package/typedoc/classes/router_params_param_type.ParamType.html +35 -0
- package/typedoc/classes/router_params_param_types.ParamTypes.html +28 -0
- package/typedoc/classes/router_params_state_params.StateParams.html +8 -0
- package/typedoc/classes/router_path_path_node.PathNode.html +30 -0
- package/typedoc/classes/router_path_path_utils.PathUtils.html +47 -0
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +29 -0
- package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +46 -0
- package/typedoc/classes/router_state_state_builder.StateBuilder.html +20 -0
- package/typedoc/classes/router_state_state_matcher.StateMatcher.html +6 -0
- package/typedoc/classes/router_state_state_object.StateObject.html +45 -0
- package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +11 -0
- package/typedoc/classes/router_state_state_registry.StateRegistry.html +60 -0
- package/typedoc/classes/router_state_state_service.StateService.html +232 -0
- package/typedoc/classes/router_state_target_state.TargetState.html +72 -0
- package/typedoc/classes/router_state_views.Ng1ViewConfig.html +22 -0
- package/typedoc/classes/router_template_factory.TemplateFactory.html +56 -0
- package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +32 -0
- package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +41 -0
- package/typedoc/classes/router_transition_reject_factory.Rejection.html +27 -0
- package/typedoc/classes/router_transition_transition.Transition.html +189 -0
- package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +16 -0
- package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +51 -0
- package/typedoc/classes/router_transition_transition_service.TransitionService.html +47 -0
- package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +57 -0
- package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +120 -0
- package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +11 -0
- package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +55 -0
- package/typedoc/classes/router_url_url_rules.UrlRules.html +150 -0
- package/typedoc/classes/router_url_url_service.UrlService.html +138 -0
- package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +4 -0
- package/typedoc/classes/router_view_view.ViewService.html +109 -0
- package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +4 -0
- package/typedoc/classes/services_browser.Browser.html +65 -0
- package/typedoc/classes/services_browser.BrowserProvider.html +9 -0
- package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +3 -0
- package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +53 -0
- package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +11 -0
- package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +31 -0
- package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +21 -0
- package/typedoc/classes/services_http_http._HttpProvider.html +19 -0
- package/typedoc/classes/services_log._LogProvider.html +9 -0
- package/typedoc/classes/services_template_request.TemplateRequestProvider.html +31 -0
- package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +62 -0
- package/typedoc/enums/core_parser_ast_type.ASTType.html +18 -0
- package/typedoc/enums/core_scope_scope.ScopePhase.html +4 -0
- package/typedoc/enums/router_transition_reject_factory.RejectType.html +23 -0
- package/typedoc/functions/animations_animate.domInsert.html +1 -0
- package/typedoc/functions/animations_animate_cache.animateCache.html +29 -0
- package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -0
- package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -0
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -0
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -0
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -0
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -0
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -0
- package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -0
- package/typedoc/functions/animations_shared.assertArg.html +1 -0
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -0
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -0
- package/typedoc/functions/animations_shared.concatWithSpace.html +1 -0
- package/typedoc/functions/animations_shared.extractElementNode.html +1 -0
- package/typedoc/functions/animations_shared.getDomNode.html +1 -0
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -0
- package/typedoc/functions/animations_shared.mergeClasses.html +1 -0
- package/typedoc/functions/animations_shared.ngMinErr.html +1 -0
- package/typedoc/functions/animations_shared.packageStyles.html +1 -0
- package/typedoc/functions/animations_shared.pendClasses.html +1 -0
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -0
- package/typedoc/functions/animations_shared.removeFromArray.html +1 -0
- package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -0
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -0
- package/typedoc/functions/core_controller_controller.identifierForController.html +1 -0
- package/typedoc/functions/core_di_injector.annotate.html +1 -0
- package/typedoc/functions/core_di_injector.createInjector.html +1 -0
- package/typedoc/functions/core_exception_handler.errorHandler-1.html +3 -0
- package/typedoc/functions/core_location_location.serverBase.html +1 -0
- package/typedoc/functions/core_location_location.stripBaseUrl.html +3 -0
- package/typedoc/functions/core_location_location.stripFile.html +1 -0
- package/typedoc/functions/core_location_location.stripHash.html +1 -0
- package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -0
- package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -0
- package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -0
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -0
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -0
- package/typedoc/functions/core_scope_scope.countChildScopes.html +4 -0
- package/typedoc/functions/core_scope_scope.countWatchers.html +5 -0
- package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +2 -0
- package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +8 -0
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +6 -0
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +7 -0
- package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -0
- package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +9 -0
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -0
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -0
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -0
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -0
- package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -0
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -0
- package/typedoc/functions/directive_events_events.createEventDirective.html +1 -0
- package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -0
- package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -0
- package/typedoc/functions/directive_form_form.setupValidity.html +1 -0
- package/typedoc/functions/directive_if_if.ngIfDirective.html +3 -0
- package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -0
- package/typedoc/functions/directive_input_input.badInputChecker.html +1 -0
- package/typedoc/functions/directive_input_input.countDecimals.html +1 -0
- package/typedoc/functions/directive_input_input.createDateInputType.html +1 -0
- package/typedoc/functions/directive_input_input.createDateParser.html +1 -0
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -0
- package/typedoc/functions/directive_input_input.inputDirective.html +2 -0
- package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -0
- package/typedoc/functions/directive_input_input.isValidForStep.html +1 -0
- package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -0
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -0
- package/typedoc/functions/directive_input_input.numberInputType.html +1 -0
- package/typedoc/functions/directive_input_input.rangeInputType.html +1 -0
- package/typedoc/functions/directive_input_input.weekParser.html +1 -0
- package/typedoc/functions/directive_list_list.ngListDirective.html +1 -0
- package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -0
- package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -0
- package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -0
- package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -0
- package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -0
- package/typedoc/functions/directive_select_select.optionDirective.html +2 -0
- package/typedoc/functions/directive_select_select.selectDirective.html +1 -0
- package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -0
- package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -0
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -0
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -0
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -0
- package/typedoc/functions/filters_filter.filterFilter.html +1 -0
- package/typedoc/functions/filters_filters.formatNumber.html +7 -0
- package/typedoc/functions/filters_filters.jsonFilter.html +1 -0
- package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -0
- package/typedoc/functions/filters_order_by.orderByFilter.html +2 -0
- package/typedoc/functions/public.publishExternalAPI.html +3 -0
- package/typedoc/functions/router.initRouter.html +1 -0
- package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -0
- package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -0
- package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -0
- package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -0
- package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -0
- package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -0
- package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -0
- package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -0
- package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +5 -0
- package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +31 -0
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -0
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -0
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -0
- package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -0
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -0
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -0
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -0
- package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -0
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -0
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -0
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -0
- package/typedoc/functions/router_services.runBlock.html +2 -0
- package/typedoc/functions/router_services.watchDigests.html +2 -0
- package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +7 -0
- package/typedoc/functions/router_state_filters._IsStateFilter.html +7 -0
- package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +30 -0
- package/typedoc/functions/router_state_state_registry.getLocals.html +1 -0
- package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -0
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +6 -0
- package/typedoc/functions/router_transition_hook_registry.makeEvent.html +2 -0
- package/typedoc/functions/router_transition_hook_registry.matchState.html +9 -0
- package/typedoc/functions/services_browser.trimEmptyHash.html +2 -0
- package/typedoc/functions/services_cookie_reader.getCookies.html +2 -0
- package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -0
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -0
- package/typedoc/functions/shared_common._removeFrom.html +1 -0
- package/typedoc/functions/shared_common.allTrueR.html +5 -0
- package/typedoc/functions/shared_common.ancestors.html +5 -0
- package/typedoc/functions/shared_common.anyTrueR.html +8 -0
- package/typedoc/functions/shared_common.applyPairs.html +7 -0
- package/typedoc/functions/shared_common.arrayTuples.html +6 -0
- package/typedoc/functions/shared_common.assertFn.html +1 -0
- package/typedoc/functions/shared_common.assertMap.html +5 -0
- package/typedoc/functions/shared_common.assertPredicate.html +5 -0
- package/typedoc/functions/shared_common.copy.html +2 -0
- package/typedoc/functions/shared_common.createProxyFunctions.html +17 -0
- package/typedoc/functions/shared_common.defaults.html +4 -0
- package/typedoc/functions/shared_common.deregAll.html +2 -0
- package/typedoc/functions/shared_common.equals.html +1 -0
- package/typedoc/functions/shared_common.filter.html +2 -0
- package/typedoc/functions/shared_common.find.html +2 -0
- package/typedoc/functions/shared_common.flatten.html +5 -0
- package/typedoc/functions/shared_common.flattenR.html +5 -0
- package/typedoc/functions/shared_common.forEach.html +2 -0
- package/typedoc/functions/shared_common.inherit.html +8 -0
- package/typedoc/functions/shared_common.map.html +2 -0
- package/typedoc/functions/shared_common.mapObj.html +3 -0
- package/typedoc/functions/shared_common.mergeR.html +2 -0
- package/typedoc/functions/shared_common.omit.html +7 -0
- package/typedoc/functions/shared_common.pairs.html +5 -0
- package/typedoc/functions/shared_common.pick.html +7 -0
- package/typedoc/functions/shared_common.pluck.html +2 -0
- package/typedoc/functions/shared_common.pushR.html +3 -0
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -0
- package/typedoc/functions/shared_common.silentRejection.html +1 -0
- package/typedoc/functions/shared_common.tail.html +2 -0
- package/typedoc/functions/shared_common.uniqR.html +2 -0
- package/typedoc/functions/shared_common.unnest.html +5 -0
- package/typedoc/functions/shared_common.unnestR.html +5 -0
- package/typedoc/functions/shared_hof.all.html +4 -0
- package/typedoc/functions/shared_hof.and.html +3 -0
- package/typedoc/functions/shared_hof.any.html +1 -0
- package/typedoc/functions/shared_hof.compose.html +5 -0
- package/typedoc/functions/shared_hof.curry.html +11 -0
- package/typedoc/functions/shared_hof.eq.html +2 -0
- package/typedoc/functions/shared_hof.invoke.html +1 -0
- package/typedoc/functions/shared_hof.is.html +2 -0
- package/typedoc/functions/shared_hof.or.html +3 -0
- package/typedoc/functions/shared_hof.parse.html +7 -0
- package/typedoc/functions/shared_hof.pattern.html +15 -0
- package/typedoc/functions/shared_hof.pipe.html +5 -0
- package/typedoc/functions/shared_hof.prop.html +5 -0
- package/typedoc/functions/shared_hof.val.html +2 -0
- package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +3 -0
- package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +4 -0
- package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +8 -0
- package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +3 -0
- package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +3 -0
- package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +5 -0
- package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +2 -0
- package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +2 -0
- package/typedoc/functions/shared_predicates.isInjectable.html +4 -0
- package/typedoc/functions/shared_predicates.isNull.html +1 -0
- package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -0
- package/typedoc/functions/shared_predicates.isPromise.html +3 -0
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +2 -0
- package/typedoc/functions/shared_strings.fnToString.html +1 -0
- package/typedoc/functions/shared_strings.functionToString.html +1 -0
- package/typedoc/functions/shared_strings.joinNeighborsR.html +7 -0
- package/typedoc/functions/shared_strings.kebobString.html +1 -0
- package/typedoc/functions/shared_strings.maxLength.html +6 -0
- package/typedoc/functions/shared_strings.padString.html +6 -0
- package/typedoc/functions/shared_strings.splitEqual.html +1 -0
- package/typedoc/functions/shared_strings.splitHash.html +1 -0
- package/typedoc/functions/shared_strings.splitOnDelim.html +5 -0
- package/typedoc/functions/shared_strings.splitQuery.html +1 -0
- package/typedoc/functions/shared_strings.stringify.html +1 -0
- package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -0
- package/typedoc/functions/shared_strings.trimHashVal.html +1 -0
- package/typedoc/functions/shared_utils.addDateMinutes.html +1 -0
- package/typedoc/functions/shared_utils.arrayRemove.html +7 -0
- package/typedoc/functions/shared_utils.assert.html +2 -0
- package/typedoc/functions/shared_utils.assertArg.html +2 -0
- package/typedoc/functions/shared_utils.assertArgFn.html +1 -0
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +4 -0
- package/typedoc/functions/shared_utils.baseExtend.html +1 -0
- package/typedoc/functions/shared_utils.bind.html +8 -0
- package/typedoc/functions/shared_utils.concat.html +1 -0
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -0
- package/typedoc/functions/shared_utils.csp.html +1 -0
- package/typedoc/functions/shared_utils.directiveNormalize.html +3 -0
- package/typedoc/functions/shared_utils.encodeUriQuery.html +10 -0
- package/typedoc/functions/shared_utils.encodeUriSegment.html +10 -0
- package/typedoc/functions/shared_utils.equals.html +22 -0
- package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -0
- package/typedoc/functions/shared_utils.extend.html +9 -0
- package/typedoc/functions/shared_utils.forEach.html +18 -0
- package/typedoc/functions/shared_utils.forEachSorted.html +1 -0
- package/typedoc/functions/shared_utils.fromJson.html +4 -0
- package/typedoc/functions/shared_utils.getNgAttribute.html +1 -0
- package/typedoc/functions/shared_utils.getNodeName.html +3 -0
- package/typedoc/functions/shared_utils.getter.html +5 -0
- package/typedoc/functions/shared_utils.hasAnimate.html +2 -0
- package/typedoc/functions/shared_utils.hasCustomToString.html +1 -0
- package/typedoc/functions/shared_utils.hashKey.html +9 -0
- package/typedoc/functions/shared_utils.includes.html +1 -0
- package/typedoc/functions/shared_utils.inherit.html +1 -0
- package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -0
- package/typedoc/functions/shared_utils.isArrayLike.html +3 -0
- package/typedoc/functions/shared_utils.isBlankObject.html +3 -0
- package/typedoc/functions/shared_utils.isBlob.html +1 -0
- package/typedoc/functions/shared_utils.isBoolean.html +1 -0
- package/typedoc/functions/shared_utils.isDate.html +1 -0
- package/typedoc/functions/shared_utils.isDefined.html +4 -0
- package/typedoc/functions/shared_utils.isElement.html +1 -0
- package/typedoc/functions/shared_utils.isError.html +5 -0
- package/typedoc/functions/shared_utils.isFile.html +1 -0
- package/typedoc/functions/shared_utils.isFormData.html +1 -0
- package/typedoc/functions/shared_utils.isFunction.html +4 -0
- package/typedoc/functions/shared_utils.isNumber.html +8 -0
- package/typedoc/functions/shared_utils.isNumberNaN.html +1 -0
- package/typedoc/functions/shared_utils.isObject.html +5 -0
- package/typedoc/functions/shared_utils.isPromiseLike.html +1 -0
- package/typedoc/functions/shared_utils.isRegExp.html +4 -0
- package/typedoc/functions/shared_utils.isScope.html +1 -0
- package/typedoc/functions/shared_utils.isString.html +4 -0
- package/typedoc/functions/shared_utils.isTypedArray.html +1 -0
- package/typedoc/functions/shared_utils.isUndefined.html +4 -0
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -0
- package/typedoc/functions/shared_utils.isWindow.html +4 -0
- package/typedoc/functions/shared_utils.lowercase.html +4 -0
- package/typedoc/functions/shared_utils.merge.html +22 -0
- package/typedoc/functions/shared_utils.mergeClasses.html +1 -0
- package/typedoc/functions/shared_utils.minErr.html +19 -0
- package/typedoc/functions/shared_utils.nextUid.html +6 -0
- package/typedoc/functions/shared_utils.parseKeyValue.html +2 -0
- package/typedoc/functions/shared_utils.reverseParams.html +2 -0
- package/typedoc/functions/shared_utils.setHashKey.html +4 -0
- package/typedoc/functions/shared_utils.shallowCopy.html +3 -0
- package/typedoc/functions/shared_utils.simpleCompare.html +1 -0
- package/typedoc/functions/shared_utils.sliceArgs.html +1 -0
- package/typedoc/functions/shared_utils.snakeCase.html +1 -0
- package/typedoc/functions/shared_utils.stringify.html +1 -0
- package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -0
- package/typedoc/functions/shared_utils.toDebugString.html +1 -0
- package/typedoc/functions/shared_utils.toInt.html +1 -0
- package/typedoc/functions/shared_utils.toJson.html +14 -0
- package/typedoc/functions/shared_utils.toKeyValue.html +1 -0
- package/typedoc/functions/shared_utils.trim.html +1 -0
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +3 -0
- package/typedoc/functions/shared_utils.uppercase.html +4 -0
- package/typedoc/functions/shared_utils.valueFn.html +1 -0
- package/typedoc/hierarchy.html +1 -0
- package/typedoc/index.html +92 -0
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +9 -0
- package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +3 -0
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +4 -0
- package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -0
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +4 -0
- package/typedoc/interfaces/core_location_location.Html5Mode.html +4 -0
- package/typedoc/interfaces/core_parser_ast.ASTNode.html +46 -0
- package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +5 -0
- package/typedoc/interfaces/core_parser_lexer.Token.html +13 -0
- package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +11 -0
- package/typedoc/interfaces/core_parser_parser.ParsedAST.html +5 -0
- package/typedoc/interfaces/core_q_q.Deferred.html +9 -0
- package/typedoc/interfaces/core_q_q.QPromise.html +12 -0
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +4 -0
- package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +10 -0
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +3 -0
- package/typedoc/interfaces/router_template_factory.BindingTuple.html +3 -0
- package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -0
- package/typedoc/interfaces/services_log.LogService.html +11 -0
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +8 -0
- package/typedoc/interfaces/types.Annotated.html +2 -0
- package/typedoc/interfaces/types.ChangesObject.html +8 -0
- package/typedoc/interfaces/types.Controller.html +32 -0
- package/typedoc/interfaces/types.Directive.html +35 -0
- package/typedoc/interfaces/types.DirectivePrePost.html +5 -0
- package/typedoc/interfaces/types.FormController.html +39 -0
- package/typedoc/interfaces/types.Module.html +30 -0
- package/typedoc/interfaces/types.NgModelController.html +59 -0
- package/typedoc/interfaces/types.NgModelOptions.html +15 -0
- package/typedoc/interfaces/types.OnChangesObject.html +5 -0
- package/typedoc/interfaces/types.ServiceProviderClass.html +3 -0
- package/typedoc/interfaces/types.TranscludeFunctionObject.html +5 -0
- package/typedoc/media/CONTRIBUTING.md +246 -0
- package/typedoc/media/DEVELOPERS.md +488 -0
- package/typedoc/modules/animations_animate.html +5 -0
- package/typedoc/modules/animations_animate_cache.html +3 -0
- package/typedoc/modules/animations_animate_children_directive.html +2 -0
- package/typedoc/modules/animations_animate_css.html +2 -0
- package/typedoc/modules/animations_animate_css_driver.html +2 -0
- package/typedoc/modules/animations_animate_js.html +2 -0
- package/typedoc/modules/animations_animate_js_driver.html +2 -0
- package/typedoc/modules/animations_animate_queue.html +2 -0
- package/typedoc/modules/animations_animate_runner.html +4 -0
- package/typedoc/modules/animations_animate_swap.html +2 -0
- package/typedoc/modules/animations_animation.html +2 -0
- package/typedoc/modules/animations_raf_scheduler.html +5 -0
- package/typedoc/modules/animations_shared.html +45 -0
- package/typedoc/modules/core_cache_cache.html +4 -0
- package/typedoc/modules/core_compile_attributes.html +3 -0
- package/typedoc/modules/core_compile_compile.html +3 -0
- package/typedoc/modules/core_controller_controller.html +3 -0
- package/typedoc/modules/core_di_injector.html +4 -0
- package/typedoc/modules/core_di_internal_injector.html +3 -0
- package/typedoc/modules/core_di_ng_module.html +8 -0
- package/typedoc/modules/core_exception_handler.html +5 -0
- package/typedoc/modules/core_filter_filter.html +2 -0
- package/typedoc/modules/core_interpolate_interpolate.html +2 -0
- package/typedoc/modules/core_interval_interval.html +3 -0
- package/typedoc/modules/core_interval_interval_factory.html +2 -0
- package/typedoc/modules/core_location_location.html +11 -0
- package/typedoc/modules/core_parser_ast.html +4 -0
- package/typedoc/modules/core_parser_ast_type.html +2 -0
- package/typedoc/modules/core_parser_interpreter.html +6 -0
- package/typedoc/modules/core_parser_lexer.html +4 -0
- package/typedoc/modules/core_parser_parse.html +7 -0
- package/typedoc/modules/core_parser_parser.html +3 -0
- package/typedoc/modules/core_pubsub_pubsub.html +3 -0
- package/typedoc/modules/core_q_q.html +6 -0
- package/typedoc/modules/core_sanitize_sanitize_uri.html +2 -0
- package/typedoc/modules/core_sce_sce.html +6 -0
- package/typedoc/modules/core_scope_scope.html +14 -0
- package/typedoc/modules/core_task_tracker_factory.html +3 -0
- package/typedoc/modules/core_timeout_timeout.html +2 -0
- package/typedoc/modules/core_url_utils_url_utils.html +8 -0
- package/typedoc/modules/directive_aria_aria.html +13 -0
- package/typedoc/modules/directive_attrs_attrs.html +3 -0
- package/typedoc/modules/directive_bind_bind.html +4 -0
- package/typedoc/modules/directive_change_change.html +2 -0
- package/typedoc/modules/directive_class_class.html +4 -0
- package/typedoc/modules/directive_cloak_cloak.html +2 -0
- package/typedoc/modules/directive_controller_controller.html +2 -0
- package/typedoc/modules/directive_events_events.html +3 -0
- package/typedoc/modules/directive_form_form.html +9 -0
- package/typedoc/modules/directive_if_if.html +2 -0
- package/typedoc/modules/directive_include_include.html +3 -0
- package/typedoc/modules/directive_init_init.html +2 -0
- package/typedoc/modules/directive_input_input.html +18 -0
- package/typedoc/modules/directive_list_list.html +2 -0
- package/typedoc/modules/directive_messages_messages.html +6 -0
- package/typedoc/modules/directive_model_model.html +4 -0
- package/typedoc/modules/directive_model_options_model_options.html +4 -0
- package/typedoc/modules/directive_non_bindable_non_bindable.html +2 -0
- package/typedoc/modules/directive_options_options.html +2 -0
- package/typedoc/modules/directive_ref_ref.html +2 -0
- package/typedoc/modules/directive_repeat_repeat.html +2 -0
- package/typedoc/modules/directive_script_script.html +2 -0
- package/typedoc/modules/directive_select_select.html +3 -0
- package/typedoc/modules/directive_show_hide_show_hide.html +3 -0
- package/typedoc/modules/directive_style_style.html +2 -0
- package/typedoc/modules/directive_switch_switch.html +4 -0
- package/typedoc/modules/directive_transclude_transclude.html +2 -0
- package/typedoc/modules/directive_validators_validators.html +5 -0
- package/typedoc/modules/filters_filter.html +2 -0
- package/typedoc/modules/filters_filters.html +3 -0
- package/typedoc/modules/filters_limit_to.html +2 -0
- package/typedoc/modules/filters_order_by.html +2 -0
- package/typedoc/modules/index.html +2 -0
- package/typedoc/modules/loader.html +3 -0
- package/typedoc/modules/public.html +3 -0
- package/typedoc/modules/router.html +2 -0
- package/typedoc/modules/router_common_coreservices.html +2 -0
- package/typedoc/modules/router_common_glob.html +103 -0
- package/typedoc/modules/router_common_queue.html +2 -0
- package/typedoc/modules/router_common_trace.html +20 -0
- package/typedoc/modules/router_directives_state_directives.html +4 -0
- package/typedoc/modules/router_directives_view_directive.html +3 -0
- package/typedoc/modules/router_globals.html +2 -0
- package/typedoc/modules/router_hooks_core_resolvables.html +3 -0
- package/typedoc/modules/router_hooks_ignored_transition.html +2 -0
- package/typedoc/modules/router_hooks_invalid_transition.html +2 -0
- package/typedoc/modules/router_hooks_lazy_load.html +3 -0
- package/typedoc/modules/router_hooks_on_enter_exit_retain.html +4 -0
- package/typedoc/modules/router_hooks_redirect_to.html +2 -0
- package/typedoc/modules/router_hooks_resolve.html +5 -0
- package/typedoc/modules/router_hooks_update_globals.html +2 -0
- package/typedoc/modules/router_hooks_url.html +2 -0
- package/typedoc/modules/router_hooks_views.html +3 -0
- package/typedoc/modules/router_params_param.html +3 -0
- package/typedoc/modules/router_params_param_factory.html +2 -0
- package/typedoc/modules/router_params_param_type.html +2 -0
- package/typedoc/modules/router_params_param_types.html +2 -0
- package/typedoc/modules/router_params_state_params.html +2 -0
- package/typedoc/modules/router_path_path_node.html +2 -0
- package/typedoc/modules/router_path_path_utils.html +2 -0
- package/typedoc/modules/router_resolve_resolvable.html +3 -0
- package/typedoc/modules/router_resolve_resolve_context.html +4 -0
- package/typedoc/modules/router_services.html +3 -0
- package/typedoc/modules/router_state_filters.html +3 -0
- package/typedoc/modules/router_state_state_builder.html +3 -0
- package/typedoc/modules/router_state_state_matcher.html +2 -0
- package/typedoc/modules/router_state_state_object.html +2 -0
- package/typedoc/modules/router_state_state_queue_manager.html +2 -0
- package/typedoc/modules/router_state_state_registry.html +3 -0
- package/typedoc/modules/router_state_state_service.html +2 -0
- package/typedoc/modules/router_state_target_state.html +2 -0
- package/typedoc/modules/router_state_views.html +4 -0
- package/typedoc/modules/router_template_factory.html +3 -0
- package/typedoc/modules/router_transition_hook_builder.html +2 -0
- package/typedoc/modules/router_transition_hook_registry.html +4 -0
- package/typedoc/modules/router_transition_interface.html +3 -0
- package/typedoc/modules/router_transition_reject_factory.html +3 -0
- package/typedoc/modules/router_transition_transition.html +2 -0
- package/typedoc/modules/router_transition_transition_event_type.html +2 -0
- package/typedoc/modules/router_transition_transition_hook.html +2 -0
- package/typedoc/modules/router_transition_transition_service.html +3 -0
- package/typedoc/modules/router_url_url_config.html +2 -0
- package/typedoc/modules/router_url_url_matcher.html +2 -0
- package/typedoc/modules/router_url_url_rule.html +3 -0
- package/typedoc/modules/router_url_url_rules.html +2 -0
- package/typedoc/modules/router_url_url_service.html +2 -0
- package/typedoc/modules/router_view_scroll.html +2 -0
- package/typedoc/modules/router_view_view.html +2 -0
- package/typedoc/modules/services_anchor_scroll.html +5 -0
- package/typedoc/modules/services_browser.html +5 -0
- package/typedoc/modules/services_cache_factory.html +3 -0
- package/typedoc/modules/services_cookie_reader.html +2 -0
- package/typedoc/modules/services_http_backend_http_backend.html +3 -0
- package/typedoc/modules/services_http_http.html +5 -0
- package/typedoc/modules/services_log.html +6 -0
- package/typedoc/modules/services_template_request.html +2 -0
- package/typedoc/modules/shared_common.html +39 -0
- package/typedoc/modules/shared_constants.html +12 -0
- package/typedoc/modules/shared_hof.html +18 -0
- package/typedoc/modules/shared_jqlite_jqlite.html +15 -0
- package/typedoc/modules/shared_predicates.html +8 -0
- package/typedoc/modules/shared_strings.html +18 -0
- package/typedoc/modules/shared_utils.html +76 -0
- package/typedoc/modules/types.html +37 -0
- package/typedoc/types/animations_animate.AnimationMethod.html +1 -0
- package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -0
- package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -0
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -0
- package/typedoc/types/core_exception_handler.ErrorHandler.html +3 -0
- package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -0
- package/typedoc/types/core_interval_interval.IntervalId.html +2 -0
- package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -0
- package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -0
- package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -0
- package/typedoc/types/core_parser_parse.ParseService.html +1 -0
- package/typedoc/types/core_scope_scope.TTL.html +2 -0
- package/typedoc/types/core_scope_scope.WatchExpression.html +1 -0
- package/typedoc/types/core_scope_scope.WatchListener.html +2 -0
- package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -0
- package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -0
- package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -0
- package/typedoc/types/services_browser.UrlChangeListener.html +1 -0
- package/typedoc/types/services_log.LogCall.html +1 -0
- package/typedoc/types/types.AnnotatedFunction.html +1 -0
- package/typedoc/types/types.AsyncModelValidators.html +1 -0
- package/typedoc/types/types.Attributes.html +1 -0
- package/typedoc/types/types.BootstrapConfig.html +1 -0
- package/typedoc/types/types.CloneAttachFunction.html +2 -0
- package/typedoc/types/types.ComponentOptions.html +1 -0
- package/typedoc/types/types.ControllerConstructor.html +1 -0
- package/typedoc/types/types.DirectiveCompileFn.html +3 -0
- package/typedoc/types/types.DirectiveController.html +1 -0
- package/typedoc/types/types.DirectiveFactory.html +1 -0
- package/typedoc/types/types.DirectiveLinkFn.html +1 -0
- package/typedoc/types/types.FilterFactory.html +1 -0
- package/typedoc/types/types.FilterFunction.html +1 -0
- package/typedoc/types/types.Injectable.html +1 -0
- package/typedoc/types/types.ModelValidators.html +1 -0
- package/typedoc/types/types.ServiceProviderFactory.html +1 -0
- package/typedoc/types/types.TAttributes.html +1 -0
- package/typedoc/types/types.TController.html +1 -0
- package/typedoc/types/types.TElement.html +1 -0
- package/typedoc/types/types.TScope.html +1 -0
- package/typedoc/types/types.TranscludeFunction.html +1 -0
- package/typedoc/types/types.transcludeWithScope.html +1 -0
- package/typedoc/types/types.transcludeWithoutScope.html +1 -0
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -0
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -0
- package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -0
- package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -0
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -0
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -0
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -0
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -0
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -0
- package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -0
- package/typedoc/variables/core_cache_cache.CACHE.html +5 -0
- package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -0
- package/typedoc/variables/core_di_injector.path.html +1 -0
- package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -0
- package/typedoc/variables/core_parser_ast.literals.html +1 -0
- package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -0
- package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -0
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -0
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -0
- package/typedoc/variables/core_scope_scope.TTL-1.html +4 -0
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -0
- package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -0
- package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -0
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -0
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -0
- package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +2 -0
- package/typedoc/variables/directive_class_class.ngClassDirective.html +58 -0
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +27 -0
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +27 -0
- package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -0
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -0
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -0
- package/typedoc/variables/directive_form_form.formDirective.html +1 -0
- package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -0
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -0
- package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -0
- package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -0
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -0
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -0
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -0
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -0
- package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -0
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -0
- package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -0
- package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -0
- package/typedoc/variables/directive_script_script.scriptDirective.html +1 -0
- package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -0
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -0
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +22 -0
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +22 -0
- package/typedoc/variables/directive_validators_validators.patternDirective.html +36 -0
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +16 -0
- package/typedoc/variables/index.angular.html +1 -0
- package/typedoc/variables/public.VERSION.html +1 -0
- package/typedoc/variables/router_common_coreservices.services.html +1 -0
- package/typedoc/variables/router_common_trace.Category.html +7 -0
- package/typedoc/variables/router_common_trace.trace-1.html +5 -0
- package/typedoc/variables/router_directives_view_directive.ngView.html +59 -0
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -0
- package/typedoc/variables/router_params_param.DefType.html +1 -0
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -0
- package/typedoc/variables/router_resolve_resolve_context.NATIVE_INJECTOR_TOKEN.html +1 -0
- package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -0
- package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +2 -0
- package/typedoc/variables/router_transition_interface.TransitionHookScope.html +2 -0
- package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +5 -0
- package/typedoc/variables/services_log.LogService-1.html +1 -0
- package/typedoc/variables/shared_common.fromJson.html +1 -0
- package/typedoc/variables/shared_common.pushTo.html +2 -0
- package/typedoc/variables/shared_common.removeFrom.html +3 -0
- package/typedoc/variables/shared_common.toJson.html +1 -0
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -0
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -0
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -0
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -0
- package/typedoc/variables/shared_hof.propEq.html +6 -0
- package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -0
- package/typedoc/variables/shared_strings.hostRegex.html +1 -0
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -0
- package/typedoc.json +6 -0
- package/types/animations/animate.d.ts +1 -17
- package/types/core/compile/attributes.d.ts +0 -20
- package/types/core/compile/compile.d.ts +0 -5
- package/types/core/controller/controller.d.ts +0 -4
- package/types/core/exception-handler.d.ts +1 -1
- package/types/core/interpolate/interpolate.d.ts +0 -6
- package/types/core/q/q.d.ts +0 -5
- package/types/core/sce/sce.d.ts +0 -265
- package/types/core/scope/scope.d.ts +1 -75
- package/types/core/task-tracker-factory.d.ts +3 -3
- package/types/core/url-utils/url-utils.d.ts +1 -47
- package/types/directive/aria/aria.d.ts +0 -6
- package/types/directive/class/class.d.ts +0 -16
- package/types/directive/form/form.d.ts +0 -24
- package/types/directive/model/model.d.ts +5 -49
- package/types/directive/script/script.d.ts +0 -15
- package/types/directive/validators/validators.d.ts +0 -15
- package/types/services/browser.d.ts +0 -8
- package/types/services/cache-factory.d.ts +0 -8
- package/types/services/http/http.d.ts +0 -13
- package/types/services/http-backend/http-backend.d.ts +0 -4
- package/types/services/log.d.ts +29 -36
- package/types/types.d.ts +130 -3
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
/\*\*
|
|
2
|
+
|
|
3
|
+
- The $sceProvider provider allows developers to configure the {@link ng.$sce $sce} service.
|
|
4
|
+
- - enable/disable Strict Contextual Escaping (SCE) in a module
|
|
5
|
+
- - override the default implementation with a custom delegate
|
|
6
|
+
-
|
|
7
|
+
- Read more about {@link ng.$sce Strict Contextual Escaping (SCE)}.
|
|
8
|
+
\*/
|
|
9
|
+
|
|
10
|
+
/\*\*
|
|
11
|
+
|
|
12
|
+
-
|
|
13
|
+
- `$sce` is a service that provides Strict Contextual Escaping services to AngularJS.
|
|
14
|
+
-
|
|
15
|
+
- ## Strict Contextual Escaping
|
|
16
|
+
-
|
|
17
|
+
- Strict Contextual Escaping (SCE) is a mode in which AngularJS constrains bindings to only render
|
|
18
|
+
- trusted values. Its goal is to assist in writing code in a way that (a) is secure by default, and
|
|
19
|
+
- (b) makes auditing for security vulnerabilities such as XSS, clickjacking, etc. a lot easier.
|
|
20
|
+
-
|
|
21
|
+
- ### Overview
|
|
22
|
+
-
|
|
23
|
+
- To systematically block XSS security bugs, AngularJS treats all values as untrusted by default in
|
|
24
|
+
- HTML or sensitive URL bindings. When binding untrusted values, AngularJS will automatically
|
|
25
|
+
- run security checks on them (sanitizations, trusted URL resource, depending on context), or throw
|
|
26
|
+
- when it cannot guarantee the security of the result. That behavior depends strongly on contexts:
|
|
27
|
+
- HTML can be sanitized, but template URLs cannot, for instance.
|
|
28
|
+
-
|
|
29
|
+
- To illustrate this, consider the `ng-bind-html` directive. It renders its value directly as HTML:
|
|
30
|
+
- we call that the _context_. When given an untrusted input, AngularJS will attempt to sanitize it
|
|
31
|
+
- before rendering if a sanitizer is available, and throw otherwise. To bypass sanitization and
|
|
32
|
+
- render the input as-is, you will need to mark it as trusted for that context before attempting
|
|
33
|
+
- to bind it.
|
|
34
|
+
-
|
|
35
|
+
- As of version 1.2, AngularJS ships with SCE enabled by default.
|
|
36
|
+
-
|
|
37
|
+
- ### In practice
|
|
38
|
+
-
|
|
39
|
+
- Here's an example of a binding in a privileged context:
|
|
40
|
+
-
|
|
41
|
+
- ```
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
- <input ng-model="userHtml" aria-label="User input">
|
|
46
|
+
- <div ng-bind-html="userHtml"></div>
|
|
47
|
+
- ```
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
-
|
|
52
|
+
- Notice that `ng-bind-html` is bound to `userHtml` controlled by the user. With SCE
|
|
53
|
+
- disabled, this application allows the user to render arbitrary HTML into the DIV, which would
|
|
54
|
+
- be an XSS security bug. In a more realistic example, one may be rendering user comments, blog
|
|
55
|
+
- articles, etc. via bindings. (HTML is just one example of a context where rendering user
|
|
56
|
+
- controlled input creates security vulnerabilities.)
|
|
57
|
+
-
|
|
58
|
+
- For the case of HTML, you might use a library, either on the client side, or on the server side,
|
|
59
|
+
- to sanitize unsafe HTML before binding to the value and rendering it in the document.
|
|
60
|
+
-
|
|
61
|
+
- How would you ensure that every place that used these types of bindings was bound to a value that
|
|
62
|
+
- was sanitized by your library (or returned as safe for rendering by your server?) How can you
|
|
63
|
+
- ensure that you didn't accidentally delete the line that sanitized the value, or renamed some
|
|
64
|
+
- properties/fields and forgot to update the binding to the sanitized value?
|
|
65
|
+
-
|
|
66
|
+
- To be secure by default, AngularJS makes sure bindings go through that sanitization, or
|
|
67
|
+
- any similar validation process, unless there's a good reason to trust the given value in this
|
|
68
|
+
- context. That trust is formalized with a function call. This means that as a developer, you
|
|
69
|
+
- can assume all untrusted bindings are safe. Then, to audit your code for binding security issues,
|
|
70
|
+
- you just need to ensure the values you mark as trusted indeed are safe - because they were
|
|
71
|
+
- received from your server, sanitized by your library, etc. You can organize your codebase to
|
|
72
|
+
- help with this - perhaps allowing only the files in a specific directory to do this.
|
|
73
|
+
- Ensuring that the internal API exposed by that code doesn't markup arbitrary values as safe then
|
|
74
|
+
- becomes a more manageable task.
|
|
75
|
+
-
|
|
76
|
+
- In the case of AngularJS' SCE service, one uses {@link ng.$sce#trustAs $sce.trustAs}
|
|
77
|
+
- (and shorthand methods such as {@link ng.$sce#trustAsHtml $sce.trustAsHtml}, etc.) to
|
|
78
|
+
- build the trusted versions of your values.
|
|
79
|
+
-
|
|
80
|
+
- ### How does it work?
|
|
81
|
+
-
|
|
82
|
+
- In privileged contexts, directives and code will bind to the result of {@link ng.$sce#getTrusted
|
|
83
|
+
- $sce.getTrusted(context, value)} rather than to the value directly. Think of this function as
|
|
84
|
+
- a way to enforce the required security context in your data sink. Directives use {@link
|
|
85
|
+
- ng.$sce#parseAs $sce.parseAs} rather than `$parse` to watch attribute bindings, which performs
|
|
86
|
+
- the {@link ng.$sce#getTrusted $sce.getTrusted} behind the scenes on non-constant literals. Also,
|
|
87
|
+
- when binding without directives, AngularJS will understand the context of your bindings
|
|
88
|
+
- automatically.
|
|
89
|
+
-
|
|
90
|
+
- As an example, {@link ng.directive:ngBindHtml ngBindHtml} uses {@link
|
|
91
|
+
- ng.$sce#parseAsHtml $sce.parseAsHtml(binding expression)}. Here's the actual code (slightly
|
|
92
|
+
- simplified):
|
|
93
|
+
-
|
|
94
|
+
- ```
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
- let ngBindHtmlDirective = ['$sce', function($sce) {
|
|
99
|
+
- return function(scope, element, attr) {
|
|
100
|
+
- scope.$watch($sce.parseAsHtml(attr.ngBindHtml), function(value) {
|
|
101
|
+
- element.html(value || '');
|
|
102
|
+
- });
|
|
103
|
+
- };
|
|
104
|
+
- }];
|
|
105
|
+
- ```
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
-
|
|
110
|
+
- ### Impact on loading templates
|
|
111
|
+
-
|
|
112
|
+
- This applies both to the {@link ng.directive:ngInclude `ng-include`} directive as well as
|
|
113
|
+
- `templateUrl`'s specified by {@link guide/directive directives}.
|
|
114
|
+
-
|
|
115
|
+
- By default, AngularJS only loads templates from the same domain and protocol as the application
|
|
116
|
+
- document. This is done by calling {@link ng.$sce#getTrustedResourceUrl
|
|
117
|
+
- $sce.getTrustedResourceUrl} on the template URL. To load templates from other domains and/or
|
|
118
|
+
- protocols, you may either add them to the {@link ng.$sceDelegateProvider#trustedResourceUrlList
|
|
119
|
+
- trustedResourceUrlList} or {@link ng.$sce#trustAsResourceUrl wrap them} into trusted values.
|
|
120
|
+
-
|
|
121
|
+
- _Please note_:
|
|
122
|
+
- The browser's
|
|
123
|
+
- [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest)
|
|
124
|
+
- and [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/)
|
|
125
|
+
- policy apply in addition to this and may further restrict whether the template is successfully
|
|
126
|
+
- loaded. This means that without the right CORS policy, loading templates from a different domain
|
|
127
|
+
- won't work on all browsers. Also, loading templates from `file://` URL does not work on some
|
|
128
|
+
- browsers.
|
|
129
|
+
-
|
|
130
|
+
- ### This feels like too much overhead
|
|
131
|
+
-
|
|
132
|
+
- It's important to remember that SCE only applies to interpolation expressions.
|
|
133
|
+
-
|
|
134
|
+
- If your expressions are constant literals, they're automatically trusted and you don't need to
|
|
135
|
+
- call `$sce.trustAs` on them (e.g.
|
|
136
|
+
- `<div ng-bind-html="'<b>implicitly trusted</b>'"></div>`) just works (remember to include the
|
|
137
|
+
- `ngSanitize` module). The `$sceDelegate` will also use the `$sanitize` service if it is available
|
|
138
|
+
- when binding untrusted values to `$sce.HTML` context.
|
|
139
|
+
- AngularJS provides an implementation in `angular-sanitize.js`, and if you
|
|
140
|
+
- wish to use it, you will also need to depend on the {@link ngSanitize `ngSanitize`} module in
|
|
141
|
+
- your application.
|
|
142
|
+
-
|
|
143
|
+
- The included {@link ng.$sceDelegate $sceDelegate} comes with sane defaults to allow you to load
|
|
144
|
+
- templates in `ng-include` from your application's domain without having to even know about SCE.
|
|
145
|
+
- It blocks loading templates from other domains or loading templates over http from an https
|
|
146
|
+
- served document. You can change these by setting your own custom {@link
|
|
147
|
+
- ng.$sceDelegateProvider#trustedResourceUrlList trusted resource URL list} and {@link
|
|
148
|
+
- ng.$sceDelegateProvider#bannedResourceUrlList banned resource URL list} for matching such URLs.
|
|
149
|
+
-
|
|
150
|
+
- This significantly reduces the overhead. It is far easier to pay the small overhead and have an
|
|
151
|
+
- application that's secure and can be audited to verify that with much more ease than bolting
|
|
152
|
+
- security onto an application later.
|
|
153
|
+
-
|
|
154
|
+
- <a name="contexts"></a>
|
|
155
|
+
- ### What trusted context types are supported?
|
|
156
|
+
-
|
|
157
|
+
- | Context | Notes |
|
|
158
|
+
- |---------------------|----------------|
|
|
159
|
+
- | `$sce.HTML` | For HTML that's safe to source into the application. The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. If an unsafe value is encountered and the {@link ngSanitize $sanitize} module is present this will sanitize the value instead of throwing an error. |
|
|
160
|
+
- | `$sce.CSS` | For CSS that's safe to source into the application. Currently unused. Feel free to use it in your own directives. |
|
|
161
|
+
- | `$sce.MEDIA_URL` | For URLs that are safe to render as media. Is automatically converted from string by sanitizing when needed. |
|
|
162
|
+
- | `$sce.URL` | For URLs that are safe to follow as links. Is automatically converted from string by sanitizing when needed. Note that `$sce.URL` makes a stronger statement about the URL than `$sce.MEDIA_URL` does and therefore contexts requiring values trusted for `$sce.URL` can be used anywhere that values trusted for `$sce.MEDIA_URL` are required.|
|
|
163
|
+
- | `$sce.RESOURCE_URL` | For URLs that are not only safe to follow as links, but whose contents are also safe to include in your application. Examples include `ng-include`, `src` / `ngSrc` bindings for tags other than `IMG` (e.g. `IFRAME`, `OBJECT`, etc.) <br><br>Note that `$sce.RESOURCE_URL` makes a stronger statement about the URL than `$sce.URL` or `$sce.MEDIA_URL` do and therefore contexts requiring values trusted for `$sce.RESOURCE_URL` can be used anywhere that values trusted for `$sce.URL` or `$sce.MEDIA_URL` are required. <br><br> The {@link $sceDelegateProvider#trustedResourceUrlList $sceDelegateProvider#trustedResourceUrlList()} and {@link $sceDelegateProvider#bannedResourceUrlList $sceDelegateProvider#bannedResourceUrlList()} can be used to restrict trusted origins for `RESOURCE_URL` |
|
|
164
|
+
- | `$sce.JS` | For JavaScript that is safe to execute in your application's context. Currently unused. Feel free to use it in your own directives. |
|
|
165
|
+
-
|
|
166
|
+
-
|
|
167
|
+
- <div class="alert alert-warning">
|
|
168
|
+
- Be aware that, before AngularJS 1.7.0, `a[href]` and `img[src]` used to sanitize their
|
|
169
|
+
- interpolated values directly rather than rely upon {@link ng.$sce#getTrusted `$sce.getTrusted`}.
|
|
170
|
+
-
|
|
171
|
+
- **As of 1.7.0, this is no longer the case.**
|
|
172
|
+
-
|
|
173
|
+
- Now such interpolations are marked as requiring `$sce.URL` (for `a[href]`) or `$sce.MEDIA_URL`
|
|
174
|
+
- (for `img[src]`), so that the sanitization happens (via `$sce.getTrusted...`) when the `$interpolate`
|
|
175
|
+
- service evaluates the expressions.
|
|
176
|
+
- </div>
|
|
177
|
+
-
|
|
178
|
+
- There are no CSS or JS context bindings in AngularJS currently, so their corresponding `$sce.trustAs`
|
|
179
|
+
- functions aren't useful yet. This might evolve.
|
|
180
|
+
-
|
|
181
|
+
- ### Format of items in {@link ng.$sceDelegateProvider#trustedResourceUrlList trustedResourceUrlList}/{@link ng.$sceDelegateProvider#bannedResourceUrlList bannedResourceUrlList} <a name="resourceUrlPatternItem"></a>
|
|
182
|
+
-
|
|
183
|
+
- Each element in these arrays must be one of the following:
|
|
184
|
+
-
|
|
185
|
+
- - **'self'**
|
|
186
|
+
- - The special **string**, `'self'`, can be used to match against all URLs of the \*\*same
|
|
187
|
+
- domain** as the application document using the **same protocol**.
|
|
188
|
+
- - **String** (except the special value `'self'`)
|
|
189
|
+
- - The string is matched against the full _normalized / absolute URL_ of the resource
|
|
190
|
+
- being tested (substring matches are not good enough.)
|
|
191
|
+
- - There are exactly **two wildcard sequences** - `*` and `**`. All other characters
|
|
192
|
+
- match themselves.
|
|
193
|
+
- - `*`: matches zero or more occurrences of any character other than one of the following 6
|
|
194
|
+
- characters: '`:`', '`/`', '`.`', '`?`', '`&`' and '`;`'. It's a useful wildcard for use
|
|
195
|
+
- for matching resource URL lists.
|
|
196
|
+
- - `**`: matches zero or more occurrences of _any_ character. As such, it's not
|
|
197
|
+
- appropriate for use in a scheme, domain, etc. as it would match too much. (e.g.
|
|
198
|
+
- http://**.example.com/ would match http://evil.com/?ignore=.example.com/ and that might
|
|
199
|
+
- not have been the intention.) Its usage at the very end of the path is ok. (e.g.
|
|
200
|
+
- http://foo.example.com/templates/**).
|
|
201
|
+
- - **RegExp** (_see caveat below_)
|
|
202
|
+
- - _Caveat_: While regular expressions are powerful and offer great flexibility, their syntax
|
|
203
|
+
- (and all the inevitable escaping) makes them *harder to maintain*. It's easy to
|
|
204
|
+
- accidentally introduce a bug when one updates a complex expression (imho, all regexes should
|
|
205
|
+
- have good test coverage). For instance, the use of `.` in the regex is correct only in a
|
|
206
|
+
- small number of cases. A `.` character in the regex used when matching the scheme or a
|
|
207
|
+
- subdomain could be matched against a `:` or literal `.` that was likely not intended. It
|
|
208
|
+
- is highly recommended to use the string patterns and only fall back to regular expressions
|
|
209
|
+
- as a last resort.
|
|
210
|
+
- - The regular expression must be an instance of RegExp (i.e. not a string.) It is
|
|
211
|
+
- matched against the **entire** *normalized / absolute URL* of the resource being tested
|
|
212
|
+
- (even when the RegExp did not have the `^` and `$` codes.) In addition, any flags
|
|
213
|
+
- present on the RegExp (such as multiline, global, ignoreCase) are ignored.
|
|
214
|
+
- - If you are generating your JavaScript from some other templating engine (not
|
|
215
|
+
- recommended, e.g. in issue [#4006](https://github.com/angular/angular.js/issues/4006)),
|
|
216
|
+
- remember to escape your regular expression (and be aware that you might need more than
|
|
217
|
+
- one level of escaping depending on your templating engine and the way you interpolated
|
|
218
|
+
- the value.) Do make use of your platform's escaping mechanism as it might be good
|
|
219
|
+
- enough before coding your own. E.g. Ruby has
|
|
220
|
+
- [Regexp.escape(str)](http://www.ruby-doc.org/core-2.0.0/Regexp.html#method-c-escape)
|
|
221
|
+
- and Python has [re.escape](http://docs.python.org/library/re.html#re.escape).
|
|
222
|
+
- Javascript lacks a similar built in function for escaping. Take a look at Google
|
|
223
|
+
- Closure library's [goog.string.regExpEscape(s)](
|
|
224
|
+
- http://docs.closure-library.googlecode.com/git/closure_goog_string_string.js.source.html#line962).
|
|
225
|
+
-
|
|
226
|
+
- Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} for an example.
|
|
227
|
+
-
|
|
228
|
+
-
|
|
229
|
+
- ## Can I disable SCE completely?
|
|
230
|
+
-
|
|
231
|
+
- Yes, you can. However, this is strongly discouraged. SCE gives you a lot of security benefits
|
|
232
|
+
- for little coding overhead. It will be much harder to take an SCE disabled application and
|
|
233
|
+
- either secure it on your own or enable SCE at a later stage. It might make sense to disable SCE
|
|
234
|
+
- for cases where you have a lot of existing code that was written before SCE was introduced and
|
|
235
|
+
- you're migrating them a module at a time. Also do note that this is an app-wide setting, so if
|
|
236
|
+
- you are writing a library, you will cause security bugs applications using it.
|
|
237
|
+
-
|
|
238
|
+
- That said, here's how you can completely disable SCE:
|
|
239
|
+
-
|
|
240
|
+
- ```
|
|
241
|
+
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
- angular.module('myAppWithSceDisabledmyApp', []).config(function($sceProvider) {
|
|
245
|
+
- // Completely disable SCE. For demonstration purposes only!
|
|
246
|
+
- // Do not use in new projects or libraries.
|
|
247
|
+
- $sceProvider.enabled(false);
|
|
248
|
+
- });
|
|
249
|
+
- ```
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
- \*/
|
|
254
|
+
|
|
255
|
+
/\* Design notes on the default implementation for SCE.
|
|
256
|
+
|
|
257
|
+
-
|
|
258
|
+
- The API contract for the SCE delegate
|
|
259
|
+
- ***
|
|
260
|
+
- The SCE delegate object must provide the following 3 methods:
|
|
261
|
+
-
|
|
262
|
+
- - trustAs(contextEnum, value)
|
|
263
|
+
- This method is used to tell the SCE service that the provided value is OK to use in the
|
|
264
|
+
- contexts specified by contextEnum. It must return an object that will be accepted by
|
|
265
|
+
- getTrusted() for a compatible contextEnum and return this value.
|
|
266
|
+
-
|
|
267
|
+
- - valueOf(value)
|
|
268
|
+
- For values that were not produced by trustAs(), return them as is. For values that were
|
|
269
|
+
- produced by trustAs(), return the corresponding input value to trustAs. Basically, if
|
|
270
|
+
- trustAs is wrapping the given values into some type, this operation unwraps it when given
|
|
271
|
+
- such a value.
|
|
272
|
+
-
|
|
273
|
+
- - getTrusted(contextEnum, value)
|
|
274
|
+
- This function should return the value that is safe to use in the context specified by
|
|
275
|
+
- contextEnum or throw and exception otherwise.
|
|
276
|
+
-
|
|
277
|
+
- NOTE: This contract deliberately does NOT state that values returned by trustAs() must be
|
|
278
|
+
- opaque or wrapped in some holder object. That happens to be an implementation detail. For
|
|
279
|
+
- instance, an implementation could maintain a registry of all trusted objects by context. In
|
|
280
|
+
- such a case, trustAs() would return the same object that was passed in. getTrusted() would
|
|
281
|
+
- return the same object passed in if it was found in the registry under a compatible context or
|
|
282
|
+
- throw an exception otherwise. An implementation might only wrap values some of the time based
|
|
283
|
+
- on some criteria. getTrusted() might return a value and not throw an exception for special
|
|
284
|
+
- constants or objects even if not wrapped. All such implementations fulfill this contract.
|
|
285
|
+
-
|
|
286
|
+
-
|
|
287
|
+
- A note on the inheritance model for SCE contexts
|
|
288
|
+
- ***
|
|
289
|
+
- I've used inheritance and made RESOURCE_URL wrapped types a subtype of URL wrapped types. This
|
|
290
|
+
- is purely an implementation details.
|
|
291
|
+
-
|
|
292
|
+
- The contract is simply this:
|
|
293
|
+
-
|
|
294
|
+
- getTrusted($sce.RESOURCE_URL, value) succeeding implies that getTrusted($sce.URL, value)
|
|
295
|
+
- will also succeed.
|
|
296
|
+
-
|
|
297
|
+
- Inheritance happens to capture this in a natural way. In some future, we may not use
|
|
298
|
+
- inheritance anymore. That is OK because no code outside of sce.js and sceSpecs.js would need to
|
|
299
|
+
- be aware of this detail.
|
|
300
|
+
\*/
|
package/src/core/scope/scope.js
CHANGED
|
@@ -287,11 +287,6 @@ export class Scope {
|
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
|
-
* @ngdoc method
|
|
291
|
-
* @name $rootScope.Scope#$watch
|
|
292
|
-
* @kind function
|
|
293
|
-
*
|
|
294
|
-
* @description
|
|
295
290
|
* Registers a `listener` callback to be executed whenever the `watchExpression` changes.
|
|
296
291
|
*
|
|
297
292
|
* - The `watchExpression` is called on every call to {@link ng.$rootScope.Scope#$digest
|
|
@@ -437,11 +432,6 @@ export class Scope {
|
|
|
437
432
|
}
|
|
438
433
|
|
|
439
434
|
/**
|
|
440
|
-
* @ngdoc method
|
|
441
|
-
* @name $rootScope.Scope#$watchGroup
|
|
442
|
-
* @kind function
|
|
443
|
-
*
|
|
444
|
-
* @description
|
|
445
435
|
* A variant of {@link ng.$rootScope.Scope#$watch $watch()} where it watches an array of `watchExpressions`.
|
|
446
436
|
* If any one expression in the collection changes the `listener` is executed.
|
|
447
437
|
*
|
|
@@ -525,11 +515,6 @@ export class Scope {
|
|
|
525
515
|
}
|
|
526
516
|
|
|
527
517
|
/**
|
|
528
|
-
* @ngdoc method
|
|
529
|
-
* @name $rootScope.Scope#$watchCollection
|
|
530
|
-
* @kind function
|
|
531
|
-
*
|
|
532
|
-
* @description
|
|
533
518
|
* Shallow watches the properties of an object and fires whenever any of the properties change
|
|
534
519
|
* (for arrays, this implies watching the array items; for object maps, this implies watching
|
|
535
520
|
* the properties). If a change is detected, the `listener` callback is fired.
|
|
@@ -701,11 +686,6 @@ export class Scope {
|
|
|
701
686
|
}
|
|
702
687
|
|
|
703
688
|
/**
|
|
704
|
-
* @ngdoc method
|
|
705
|
-
* @name $rootScope.Scope#$digest
|
|
706
|
-
* @kind function
|
|
707
|
-
*
|
|
708
|
-
* @description
|
|
709
689
|
* Processes all of the {@link ng.$rootScope.Scope#$watch watchers} of the current scope and
|
|
710
690
|
* its children. Because a {@link ng.$rootScope.Scope#$watch watcher}'s listener can change
|
|
711
691
|
* the model, the `$digest()` keeps calling the {@link ng.$rootScope.Scope#$watch watchers}
|
|
@@ -920,11 +900,6 @@ export class Scope {
|
|
|
920
900
|
}
|
|
921
901
|
|
|
922
902
|
/**
|
|
923
|
-
* @ngdoc method
|
|
924
|
-
* @name $rootScope.Scope#$suspend
|
|
925
|
-
* @kind function
|
|
926
|
-
*
|
|
927
|
-
* @description
|
|
928
903
|
* Suspend watchers of this scope subtree so that they will not be invoked during digest.
|
|
929
904
|
*
|
|
930
905
|
* This can be used to optimize your application when you know that running those watchers
|
|
@@ -967,11 +942,7 @@ export class Scope {
|
|
|
967
942
|
}
|
|
968
943
|
|
|
969
944
|
/**
|
|
970
|
-
|
|
971
|
-
* @name $rootScope.Scope#$isSuspended
|
|
972
|
-
* @kind function
|
|
973
|
-
*
|
|
974
|
-
* @description
|
|
945
|
+
|
|
975
946
|
* Call this method to determine if this scope has been explicitly suspended. It will not
|
|
976
947
|
* tell you whether an ancestor has been suspended.
|
|
977
948
|
* To determine if this scope will be excluded from a digest triggered at the $rootScope,
|
|
@@ -996,11 +967,6 @@ export class Scope {
|
|
|
996
967
|
}
|
|
997
968
|
|
|
998
969
|
/**
|
|
999
|
-
* @ngdoc method
|
|
1000
|
-
* @name $rootScope.Scope#$resume
|
|
1001
|
-
* @kind function
|
|
1002
|
-
*
|
|
1003
|
-
* @description
|
|
1004
970
|
* Resume watchers of this scope subtree in case it was suspended.
|
|
1005
971
|
*
|
|
1006
972
|
* See {@link $rootScope.Scope#$suspend} for information about the dangers of using this approach.
|
|
@@ -1010,11 +976,6 @@ export class Scope {
|
|
|
1010
976
|
}
|
|
1011
977
|
|
|
1012
978
|
/**
|
|
1013
|
-
* @ngdoc event
|
|
1014
|
-
* @name $rootScope.Scope#$destroy
|
|
1015
|
-
* @eventType broadcast on scope being destroyed
|
|
1016
|
-
*
|
|
1017
|
-
* @description
|
|
1018
979
|
* Broadcasted when a scope and its children are being destroyed.
|
|
1019
980
|
*
|
|
1020
981
|
* Note that, in AngularTS, there is also a `$destroy` jQuery event, which can be used to
|
|
@@ -1022,11 +983,6 @@ export class Scope {
|
|
|
1022
983
|
*/
|
|
1023
984
|
|
|
1024
985
|
/**
|
|
1025
|
-
* @ngdoc method
|
|
1026
|
-
* @name $rootScope.Scope#$destroy
|
|
1027
|
-
* @kind function
|
|
1028
|
-
*
|
|
1029
|
-
* @description
|
|
1030
986
|
* Removes the current scope (and all of its children) from the parent scope. Removal implies
|
|
1031
987
|
* that calls to {@link ng.$rootScope.Scope#$digest $digest()} will no longer
|
|
1032
988
|
* propagate to the current scope and its children. Removal also implies that the current
|
|
@@ -1096,11 +1052,6 @@ export class Scope {
|
|
|
1096
1052
|
}
|
|
1097
1053
|
|
|
1098
1054
|
/**
|
|
1099
|
-
* @ngdoc method
|
|
1100
|
-
* @name $rootScope.Scope#$eval
|
|
1101
|
-
* @kind function
|
|
1102
|
-
*
|
|
1103
|
-
* @description
|
|
1104
1055
|
* Executes the `expression` on the current scope and returns the result. Any exceptions in
|
|
1105
1056
|
* the expression are propagated (uncaught). This is useful when evaluating AngularTS
|
|
1106
1057
|
* expressions.
|
|
@@ -1128,11 +1079,6 @@ export class Scope {
|
|
|
1128
1079
|
}
|
|
1129
1080
|
|
|
1130
1081
|
/**
|
|
1131
|
-
* @ngdoc method
|
|
1132
|
-
* @name $rootScope.Scope#$evalAsync
|
|
1133
|
-
* @kind function
|
|
1134
|
-
*
|
|
1135
|
-
* @description
|
|
1136
1082
|
* Executes the expression on the current scope at a later point in time.
|
|
1137
1083
|
*
|
|
1138
1084
|
* The `$evalAsync` makes no guarantees as to when the `expression` will be executed, only
|
|
@@ -1187,11 +1133,6 @@ export class Scope {
|
|
|
1187
1133
|
}
|
|
1188
1134
|
|
|
1189
1135
|
/**
|
|
1190
|
-
* @ngdoc method
|
|
1191
|
-
* @name $rootScope.Scope#$apply
|
|
1192
|
-
* @kind function
|
|
1193
|
-
*
|
|
1194
|
-
* @description
|
|
1195
1136
|
* `$apply()` is used to execute an expression in AngularTS from outside of the AngularTS
|
|
1196
1137
|
* framework. (For example from browser DOM events, setTimeout, XHR or third party libraries).
|
|
1197
1138
|
* Because we are calling into the AngularTS framework we need to perform proper scope life
|
|
@@ -1262,11 +1203,6 @@ export class Scope {
|
|
|
1262
1203
|
}
|
|
1263
1204
|
|
|
1264
1205
|
/**
|
|
1265
|
-
* @ngdoc method
|
|
1266
|
-
* @name $rootScope.Scope#$applyAsync
|
|
1267
|
-
* @kind function
|
|
1268
|
-
*
|
|
1269
|
-
* @description
|
|
1270
1206
|
* Schedule the invocation of $apply to occur at a later time. The actual time difference
|
|
1271
1207
|
* varies across browsers, but is typically around ~10 milliseconds.
|
|
1272
1208
|
*
|
|
@@ -1368,11 +1304,6 @@ export class Scope {
|
|
|
1368
1304
|
}
|
|
1369
1305
|
|
|
1370
1306
|
/**
|
|
1371
|
-
* @ngdoc method
|
|
1372
|
-
* @name $rootScope.Scope#$emit
|
|
1373
|
-
* @kind function
|
|
1374
|
-
*
|
|
1375
|
-
* @description
|
|
1376
1307
|
* Dispatches an event `name` upwards through the scope hierarchy notifying the
|
|
1377
1308
|
* registered {@link ng.$rootScope.Scope#$on} listeners.
|
|
1378
1309
|
*
|
|
@@ -1442,11 +1373,6 @@ export class Scope {
|
|
|
1442
1373
|
}
|
|
1443
1374
|
|
|
1444
1375
|
/**
|
|
1445
|
-
* @ngdoc method
|
|
1446
|
-
* @name $rootScope.Scope#$broadcast
|
|
1447
|
-
* @kind function
|
|
1448
|
-
*
|
|
1449
|
-
* @description
|
|
1450
1376
|
* Dispatches an event `name` downwards to all child scopes (and their children) notifying the
|
|
1451
1377
|
* registered {@link ng.$rootScope.Scope#$on} listeners.
|
|
1452
1378
|
*
|
|
@@ -5,59 +5,12 @@ import { isString } from "../../shared/utils";
|
|
|
5
5
|
* @typedef {"http"|"https"} HttpProtocol
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
// service.
|
|
9
8
|
const urlParsingNode = window.document.createElement("a");
|
|
10
9
|
const originUrl = urlResolve(window.location.href);
|
|
11
10
|
let baseUrlParsingNode;
|
|
12
11
|
|
|
13
12
|
urlParsingNode.href = "http://[::1]";
|
|
14
13
|
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* Implementation Notes for non-IE browsers
|
|
18
|
-
* ----------------------------------------
|
|
19
|
-
* Assigning a URL to the href property of an anchor DOM node, even one attached to the DOM,
|
|
20
|
-
* results both in the normalizing and parsing of the URL. Normalizing means that a relative
|
|
21
|
-
* URL will be resolved into an absolute URL in the context of the application document.
|
|
22
|
-
* Parsing means that the anchor node's host, hostname, protocol, port, pathname and related
|
|
23
|
-
* properties are all populated to reflect the normalized URL. This approach has wide
|
|
24
|
-
* compatibility - Safari 1+, Mozilla 1+ etc. See
|
|
25
|
-
* http://www.aptana.com/reference/html/api/HTMLAnchorElement.html
|
|
26
|
-
*
|
|
27
|
-
* Implementation Notes for IE
|
|
28
|
-
* ---------------------------
|
|
29
|
-
* IE <= 10 normalizes the URL when assigned to the anchor node similar to the other
|
|
30
|
-
* browsers. However, the parsed components will not be set if the URL assigned did not specify
|
|
31
|
-
* them. (e.g. if you assign a.href = "foo", then a.protocol, a.host, etc. will be empty.) We
|
|
32
|
-
* work around that by performing the parsing in a 2nd step by taking a previously normalized
|
|
33
|
-
* URL (e.g. by assigning to a.href) and assigning it a.href again. This correctly populates the
|
|
34
|
-
* properties such as protocol, hostname, port, etc.
|
|
35
|
-
*
|
|
36
|
-
* References:
|
|
37
|
-
* http://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement
|
|
38
|
-
* http://www.aptana.com/reference/html/api/HTMLAnchorElement.html
|
|
39
|
-
* http://url.spec.whatwg.org/#urlutils
|
|
40
|
-
* https://github.com/angular/angular.js/pull/2902
|
|
41
|
-
* http://james.padolsey.com/javascript/parsing-urls-with-the-dom/
|
|
42
|
-
*
|
|
43
|
-
* @kind function
|
|
44
|
-
* @param {string|object} url The URL to be parsed. If `url` is not a string, it will be returned
|
|
45
|
-
* unchanged.
|
|
46
|
-
* @description Normalizes and parses a URL.
|
|
47
|
-
* @returns {object} Returns the normalized URL as a dictionary.
|
|
48
|
-
*
|
|
49
|
-
* | member name | Description |
|
|
50
|
-
* |---------------|------------------------------------------------------------------------|
|
|
51
|
-
* | href | A normalized version of the provided URL if it was not an absolute URL |
|
|
52
|
-
* | protocol | The protocol without the trailing colon |
|
|
53
|
-
* | host | The host and port (if the port is non-default) of the normalizedUrl |
|
|
54
|
-
* | search | The search params, minus the question mark |
|
|
55
|
-
* | hash | The hash string, minus the hash symbol |
|
|
56
|
-
* | hostname | The hostname |
|
|
57
|
-
* | port | The port, without ":" |
|
|
58
|
-
* | pathname | The pathname, beginning with "/" |
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
14
|
export function urlResolve(url) {
|
|
62
15
|
if (!isString(url)) return url;
|
|
63
16
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/\*\*
|
|
2
|
+
|
|
3
|
+
-
|
|
4
|
+
- Implementation Notes for non-IE browsers
|
|
5
|
+
- ***
|
|
6
|
+
- Assigning a URL to the href property of an anchor DOM node, even one attached to the DOM,
|
|
7
|
+
- results both in the normalizing and parsing of the URL. Normalizing means that a relative
|
|
8
|
+
- URL will be resolved into an absolute URL in the context of the application document.
|
|
9
|
+
- Parsing means that the anchor node's host, hostname, protocol, port, pathname and related
|
|
10
|
+
- properties are all populated to reflect the normalized URL. This approach has wide
|
|
11
|
+
- compatibility - Safari 1+, Mozilla 1+ etc. See
|
|
12
|
+
- http://www.aptana.com/reference/html/api/HTMLAnchorElement.html
|
|
13
|
+
-
|
|
14
|
+
- Implementation Notes for IE
|
|
15
|
+
- ***
|
|
16
|
+
- IE <= 10 normalizes the URL when assigned to the anchor node similar to the other
|
|
17
|
+
- browsers. However, the parsed components will not be set if the URL assigned did not specify
|
|
18
|
+
- them. (e.g. if you assign a.href = "foo", then a.protocol, a.host, etc. will be empty.) We
|
|
19
|
+
- work around that by performing the parsing in a 2nd step by taking a previously normalized
|
|
20
|
+
- URL (e.g. by assigning to a.href) and assigning it a.href again. This correctly populates the
|
|
21
|
+
- properties such as protocol, hostname, port, etc.
|
|
22
|
+
-
|
|
23
|
+
- References:
|
|
24
|
+
- http://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement
|
|
25
|
+
- http://www.aptana.com/reference/html/api/HTMLAnchorElement.html
|
|
26
|
+
- http://url.spec.whatwg.org/#urlutils
|
|
27
|
+
- https://github.com/angular/angular.js/pull/2902
|
|
28
|
+
- http://james.padolsey.com/javascript/parsing-urls-with-the-dom/
|
|
29
|
+
-
|
|
30
|
+
- @kind function
|
|
31
|
+
- @param {string|object} url The URL to be parsed. If `url` is not a string, it will be returned
|
|
32
|
+
- unchanged.
|
|
33
|
+
- @description Normalizes and parses a URL.
|
|
34
|
+
- @returns {object} Returns the normalized URL as a dictionary.
|
|
35
|
+
-
|
|
36
|
+
- | member name | Description |
|
|
37
|
+
- |---------------|------------------------------------------------------------------------|
|
|
38
|
+
- | href | A normalized version of the provided URL if it was not an absolute URL |
|
|
39
|
+
- | protocol | The protocol without the trailing colon |
|
|
40
|
+
- | host | The host and port (if the port is non-default) of the normalizedUrl |
|
|
41
|
+
- | search | The search params, minus the question mark |
|
|
42
|
+
- | hash | The hash string, minus the hash symbol |
|
|
43
|
+
- | hostname | The hostname |
|
|
44
|
+
- | port | The port, without ":" |
|
|
45
|
+
- | pathname | The pathname, beginning with "/" |
|
|
46
|
+
- \*/
|
|
@@ -20,13 +20,8 @@ const isNodeOneOf = function (elem, nodeTypeArray) {
|
|
|
20
20
|
return true;
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
+
|
|
23
24
|
/**
|
|
24
|
-
* @ngdoc provider
|
|
25
|
-
* @name $ariaProvider
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @description
|
|
29
|
-
*
|
|
30
25
|
* Used for configuring the ARIA attributes injected and managed by ngAria.
|
|
31
26
|
*
|
|
32
27
|
* ```js
|
|
@@ -166,12 +166,6 @@ function classDirective(name, selector) {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* @ngdoc directive
|
|
170
|
-
* @name ngClass
|
|
171
|
-
* @restrict AC
|
|
172
|
-
* @element ANY
|
|
173
|
-
*
|
|
174
|
-
* @description
|
|
175
169
|
* The `ngClass` directive allows you to dynamically set CSS classes on an HTML element by databinding
|
|
176
170
|
* an expression that represents all classes to be added.
|
|
177
171
|
*
|
|
@@ -223,11 +217,6 @@ function classDirective(name, selector) {
|
|
|
223
217
|
export const ngClassDirective = classDirective("", true);
|
|
224
218
|
|
|
225
219
|
/**
|
|
226
|
-
* @ngdoc directive
|
|
227
|
-
* @name ngClassOdd
|
|
228
|
-
* @restrict AC
|
|
229
|
-
*
|
|
230
|
-
* @description
|
|
231
220
|
* The `ngClassOdd` and `ngClassEven` directives work exactly as
|
|
232
221
|
* {@link ng.directive:ngClass ngClass}, except they work in
|
|
233
222
|
* conjunction with `ngRepeat` and take effect only on odd (even) rows.
|
|
@@ -250,11 +239,6 @@ export const ngClassDirective = classDirective("", true);
|
|
|
250
239
|
export const ngClassOddDirective = classDirective("Odd", 0);
|
|
251
240
|
|
|
252
241
|
/**
|
|
253
|
-
* @ngdoc directive
|
|
254
|
-
* @name ngClassEven
|
|
255
|
-
* @restrict AC
|
|
256
|
-
*
|
|
257
|
-
* @description
|
|
258
242
|
* The `ngClassOdd` and `ngClassEven` directives work exactly as
|
|
259
243
|
* {@link ng.directive:ngClass ngClass}, except they work in
|
|
260
244
|
* conjunction with `ngRepeat` and take effect only on odd (even) rows.
|