(angular)
| 2774 | |
| 2775 | |
| 2776 | function publishExternalAPI(angular) { |
| 2777 | extend(angular, { |
| 2778 | 'errorHandlingConfig': errorHandlingConfig, |
| 2779 | 'bootstrap': bootstrap, |
| 2780 | 'copy': copy, |
| 2781 | 'extend': extend, |
| 2782 | 'merge': merge, |
| 2783 | 'equals': equals, |
| 2784 | 'element': jqLite, |
| 2785 | 'forEach': forEach, |
| 2786 | 'injector': createInjector, |
| 2787 | 'noop': noop, |
| 2788 | 'bind': bind, |
| 2789 | 'toJson': toJson, |
| 2790 | 'fromJson': fromJson, |
| 2791 | 'identity': identity, |
| 2792 | 'isUndefined': isUndefined, |
| 2793 | 'isDefined': isDefined, |
| 2794 | 'isString': isString, |
| 2795 | 'isFunction': isFunction, |
| 2796 | 'isObject': isObject, |
| 2797 | 'isNumber': isNumber, |
| 2798 | 'isElement': isElement, |
| 2799 | 'isArray': isArray, |
| 2800 | 'version': version, |
| 2801 | 'isDate': isDate, |
| 2802 | 'callbacks': {$$counter: 0}, |
| 2803 | 'getTestability': getTestability, |
| 2804 | 'reloadWithDebugInfo': reloadWithDebugInfo, |
| 2805 | '$$minErr': minErr, |
| 2806 | '$$csp': csp, |
| 2807 | '$$encodeUriSegment': encodeUriSegment, |
| 2808 | '$$encodeUriQuery': encodeUriQuery, |
| 2809 | '$$lowercase': lowercase, |
| 2810 | '$$stringify': stringify, |
| 2811 | '$$uppercase': uppercase |
| 2812 | }); |
| 2813 | |
| 2814 | angularModule = setupModuleLoader(window); |
| 2815 | |
| 2816 | angularModule('ng', ['ngLocale'], ['$provide', |
| 2817 | function ngModule($provide) { |
| 2818 | // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it. |
| 2819 | $provide.provider({ |
| 2820 | $$sanitizeUri: $$SanitizeUriProvider |
| 2821 | }); |
| 2822 | $provide.provider('$compile', $CompileProvider). |
| 2823 | directive({ |
| 2824 | a: htmlAnchorDirective, |
| 2825 | input: inputDirective, |
| 2826 | textarea: inputDirective, |
| 2827 | form: formDirective, |
| 2828 | script: scriptDirective, |
| 2829 | select: selectDirective, |
| 2830 | option: optionDirective, |
| 2831 | ngBind: ngBindDirective, |
| 2832 | ngBindHtml: ngBindHtmlDirective, |
| 2833 | ngBindTemplate: ngBindTemplateDirective, |
no test coverage detected