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

Function publishExternalAPI

test/angular/1.5/angular.js:2582–2719  ·  view source on GitHub ↗
(angular)

Source from the content-addressed store, hash-verified

2580
2581
2582function publishExternalAPI(angular) {
2583 extend(angular, {
2584 'bootstrap': bootstrap,
2585 'copy': copy,
2586 'extend': extend,
2587 'merge': merge,
2588 'equals': equals,
2589 'element': jqLite,
2590 'forEach': forEach,
2591 'injector': createInjector,
2592 'noop': noop,
2593 'bind': bind,
2594 'toJson': toJson,
2595 'fromJson': fromJson,
2596 'identity': identity,
2597 'isUndefined': isUndefined,
2598 'isDefined': isDefined,
2599 'isString': isString,
2600 'isFunction': isFunction,
2601 'isObject': isObject,
2602 'isNumber': isNumber,
2603 'isElement': isElement,
2604 'isArray': isArray,
2605 'version': version,
2606 'isDate': isDate,
2607 'lowercase': lowercase,
2608 'uppercase': uppercase,
2609 'callbacks': {$$counter: 0},
2610 'getTestability': getTestability,
2611 '$$minErr': minErr,
2612 '$$csp': csp,
2613 'reloadWithDebugInfo': reloadWithDebugInfo
2614 });
2615
2616 angularModule = setupModuleLoader(window);
2617
2618 angularModule('ng', ['ngLocale'], ['$provide',
2619 function ngModule($provide) {
2620 // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.
2621 $provide.provider({
2622 $$sanitizeUri: $$SanitizeUriProvider
2623 });
2624 $provide.provider('$compile', $CompileProvider).
2625 directive({
2626 a: htmlAnchorDirective,
2627 input: inputDirective,
2628 textarea: inputDirective,
2629 form: formDirective,
2630 script: scriptDirective,
2631 select: selectDirective,
2632 option: optionDirective,
2633 ngBind: ngBindDirective,
2634 ngBindHtml: ngBindHtmlDirective,
2635 ngBindTemplate: ngBindTemplateDirective,
2636 ngClass: ngClassDirective,
2637 ngClassEven: ngClassEvenDirective,
2638 ngClassOdd: ngClassOddDirective,
2639 ngCloak: ngCloakDirective,

Callers 1

angular.jsFile · 0.70

Calls 2

extendFunction · 0.70
setupModuleLoaderFunction · 0.70

Tested by

no test coverage detected