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

Function publishExternalAPI

lib/test/angular/1.6.7/angular.js:2801–2944  ·  view source on GitHub ↗
(angular)

Source from the content-addressed store, hash-verified

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

Callers 1

angular.jsFile · 0.70

Calls 2

extendFunction · 0.70
setupModuleLoaderFunction · 0.70

Tested by

no test coverage detected