MCPcopy
hub / github.com/angular-ui/ui-router / publishExternalAPI

Function publishExternalAPI

test/angular/1.7/angular.js:2818–2965  ·  view source on GitHub ↗
(angular)

Source from the content-addressed store, hash-verified

2816
2817
2818function publishExternalAPI(angular) {
2819 extend(angular, {
2820 'errorHandlingConfig': errorHandlingConfig,
2821 'bootstrap': bootstrap,
2822 'copy': copy,
2823 'extend': extend,
2824 'merge': merge,
2825 'equals': equals,
2826 'element': jqLite,
2827 'forEach': forEach,
2828 'injector': createInjector,
2829 'noop': noop,
2830 'bind': bind,
2831 'toJson': toJson,
2832 'fromJson': fromJson,
2833 'identity': identity,
2834 'isUndefined': isUndefined,
2835 'isDefined': isDefined,
2836 'isString': isString,
2837 'isFunction': isFunction,
2838 'isObject': isObject,
2839 'isNumber': isNumber,
2840 'isElement': isElement,
2841 'isArray': isArray,
2842 'version': version,
2843 'isDate': isDate,
2844 'callbacks': {$$counter: 0},
2845 'getTestability': getTestability,
2846 'reloadWithDebugInfo': reloadWithDebugInfo,
2847 '$$minErr': minErr,
2848 '$$csp': csp,
2849 '$$encodeUriSegment': encodeUriSegment,
2850 '$$encodeUriQuery': encodeUriQuery,
2851 '$$lowercase': lowercase,
2852 '$$stringify': stringify,
2853 '$$uppercase': uppercase
2854 });
2855
2856 angularModule = setupModuleLoader(window);
2857
2858 angularModule('ng', ['ngLocale'], ['$provide',
2859 function ngModule($provide) {
2860 // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.
2861 $provide.provider({
2862 $$sanitizeUri: $$SanitizeUriProvider
2863 });
2864 $provide.provider('$compile', $CompileProvider).
2865 directive({
2866 a: htmlAnchorDirective,
2867 input: inputDirective,
2868 textarea: inputDirective,
2869 form: formDirective,
2870 script: scriptDirective,
2871 select: selectDirective,
2872 option: optionDirective,
2873 ngBind: ngBindDirective,
2874 ngBindHtml: ngBindHtmlDirective,
2875 ngBindTemplate: ngBindTemplateDirective,

Callers 1

angular.jsFile · 0.70

Calls 2

extendFunction · 0.70
setupModuleLoaderFunction · 0.70

Tested by

no test coverage detected