MCPcopy Index your code
hub / github.com/angular-ui/ui-router / publishExternalAPI

Function publishExternalAPI

test/angular/1.3/angular.js:2150–2281  ·  view source on GitHub ↗
(angular)

Source from the content-addressed store, hash-verified

2148
2149
2150function publishExternalAPI(angular) {
2151 extend(angular, {
2152 'bootstrap': bootstrap,
2153 'copy': copy,
2154 'extend': extend,
2155 'equals': equals,
2156 'element': jqLite,
2157 'forEach': forEach,
2158 'injector': createInjector,
2159 'noop': noop,
2160 'bind': bind,
2161 'toJson': toJson,
2162 'fromJson': fromJson,
2163 'identity': identity,
2164 'isUndefined': isUndefined,
2165 'isDefined': isDefined,
2166 'isString': isString,
2167 'isFunction': isFunction,
2168 'isObject': isObject,
2169 'isNumber': isNumber,
2170 'isElement': isElement,
2171 'isArray': isArray,
2172 'version': version,
2173 'isDate': isDate,
2174 'lowercase': lowercase,
2175 'uppercase': uppercase,
2176 'callbacks': {counter: 0},
2177 'getTestability': getTestability,
2178 '$$minErr': minErr,
2179 '$$csp': csp,
2180 'reloadWithDebugInfo': reloadWithDebugInfo
2181 });
2182
2183 angularModule = setupModuleLoader(window);
2184 try {
2185 angularModule('ngLocale');
2186 } catch (e) {
2187 angularModule('ngLocale', []).provider('$locale', $LocaleProvider);
2188 }
2189
2190 angularModule('ng', ['ngLocale'], ['$provide',
2191 function ngModule($provide) {
2192 // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.
2193 $provide.provider({
2194 $$sanitizeUri: $$SanitizeUriProvider
2195 });
2196 $provide.provider('$compile', $CompileProvider).
2197 directive({
2198 a: htmlAnchorDirective,
2199 input: inputDirective,
2200 textarea: inputDirective,
2201 form: formDirective,
2202 script: scriptDirective,
2203 select: selectDirective,
2204 style: styleDirective,
2205 option: optionDirective,
2206 ngBind: ngBindDirective,
2207 ngBindHtml: ngBindHtmlDirective,

Callers 1

angular.jsFile · 0.70

Calls 2

extendFunction · 0.70
setupModuleLoaderFunction · 0.70

Tested by

no test coverage detected