(angular)
| 2837 | |
| 2838 | |
| 2839 | function publishExternalAPI(angular) { |
| 2840 | extend(angular, { |
| 2841 | 'errorHandlingConfig': errorHandlingConfig, |
| 2842 | 'bootstrap': bootstrap, |
| 2843 | 'copy': copy, |
| 2844 | 'extend': extend, |
| 2845 | 'merge': merge, |
| 2846 | 'equals': equals, |
| 2847 | 'element': jqLite, |
| 2848 | 'forEach': forEach, |
| 2849 | 'injector': createInjector, |
| 2850 | 'noop': noop, |
| 2851 | 'bind': bind, |
| 2852 | 'toJson': toJson, |
| 2853 | 'fromJson': fromJson, |
| 2854 | 'identity': identity, |
| 2855 | 'isUndefined': isUndefined, |
| 2856 | 'isDefined': isDefined, |
| 2857 | 'isString': isString, |
| 2858 | 'isFunction': isFunction, |
| 2859 | 'isObject': isObject, |
| 2860 | 'isNumber': isNumber, |
| 2861 | 'isElement': isElement, |
| 2862 | 'isArray': isArray, |
| 2863 | 'version': version, |
| 2864 | 'isDate': isDate, |
| 2865 | 'callbacks': {$$counter: 0}, |
| 2866 | 'getTestability': getTestability, |
| 2867 | 'reloadWithDebugInfo': reloadWithDebugInfo, |
| 2868 | 'UNSAFE_restoreLegacyJqLiteXHTMLReplacement': UNSAFE_restoreLegacyJqLiteXHTMLReplacement, |
| 2869 | '$$minErr': minErr, |
| 2870 | '$$csp': csp, |
| 2871 | '$$encodeUriSegment': encodeUriSegment, |
| 2872 | '$$encodeUriQuery': encodeUriQuery, |
| 2873 | '$$lowercase': lowercase, |
| 2874 | '$$stringify': stringify, |
| 2875 | '$$uppercase': uppercase |
| 2876 | }); |
| 2877 | |
| 2878 | angularModule = setupModuleLoader(window); |
| 2879 | |
| 2880 | angularModule('ng', ['ngLocale'], ['$provide', |
| 2881 | function ngModule($provide) { |
| 2882 | // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it. |
| 2883 | $provide.provider({ |
| 2884 | $$sanitizeUri: $$SanitizeUriProvider |
| 2885 | }); |
| 2886 | $provide.provider('$compile', $CompileProvider). |
| 2887 | directive({ |
| 2888 | a: htmlAnchorDirective, |
| 2889 | input: inputDirective, |
| 2890 | textarea: inputDirective, |
| 2891 | form: formDirective, |
| 2892 | script: scriptDirective, |
| 2893 | select: selectDirective, |
| 2894 | option: optionDirective, |
| 2895 | ngBind: ngBindDirective, |
| 2896 | ngBindHtml: ngBindHtmlDirective, |
no test coverage detected