MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / publishExternalAPI

Function publishExternalAPI

test/fixtures/foo.js:1998–2116  ·  view source on GitHub ↗
(angular)

Source from the content-addressed store, hash-verified

1996
1997
1998function publishExternalAPI(angular){
1999 extend(angular, {
2000 'bootstrap': bootstrap,
2001 'copy': copy,
2002 'extend': extend,
2003 'equals': equals,
2004 'element': jqLite,
2005 'forEach': forEach,
2006 'injector': createInjector,
2007 'noop': noop,
2008 'bind': bind,
2009 'toJson': toJson,
2010 'fromJson': fromJson,
2011 'identity': identity,
2012 'isUndefined': isUndefined,
2013 'isDefined': isDefined,
2014 'isString': isString,
2015 'isFunction': isFunction,
2016 'isObject': isObject,
2017 'isNumber': isNumber,
2018 'isElement': isElement,
2019 'isArray': isArray,
2020 'version': version,
2021 'isDate': isDate,
2022 'lowercase': lowercase,
2023 'uppercase': uppercase,
2024 'callbacks': {counter: 0},
2025 '$$minErr': minErr,
2026 '$$csp': csp
2027 });
2028
2029 angularModule = setupModuleLoader(window);
2030 try {
2031 angularModule('ngLocale');
2032 } catch (e) {
2033 angularModule('ngLocale', []).provider('$locale', $LocaleProvider);
2034 }
2035
2036 angularModule('ng', ['ngLocale'], ['$provide',
2037 function ngModule($provide) {
2038 // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.
2039 $provide.provider({
2040 $$sanitizeUri: $$SanitizeUriProvider
2041 });
2042 $provide.provider('$compile', $CompileProvider).
2043 directive({
2044 a: htmlAnchorDirective,
2045 input: inputDirective,
2046 textarea: inputDirective,
2047 form: formDirective,
2048 script: scriptDirective,
2049 select: selectDirective,
2050 style: styleDirective,
2051 option: optionDirective,
2052 ngBind: ngBindDirective,
2053 ngBindHtml: ngBindHtmlDirective,
2054 ngBindTemplate: ngBindTemplateDirective,
2055 ngClass: ngClassDirective,

Callers 1

foo.jsFile · 0.85

Calls 2

extendFunction · 0.85
setupModuleLoaderFunction · 0.85

Tested by

no test coverage detected