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

Function publishExternalAPI

test/angular/1.6/angular.js:2817–2960  ·  view source on GitHub ↗
(angular)

Source from the content-addressed store, hash-verified

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

Callers 1

angular.jsFile · 0.70

Calls 2

extendFunction · 0.70
setupModuleLoaderFunction · 0.70

Tested by

no test coverage detected