MCPcopy Create free account
hub / github.com/apache/cloudstack / publishExternalAPI

Function publishExternalAPI

tools/ngui/static/js/lib/angular.js:1324–1431  ·  view source on GitHub ↗
(angular)

Source from the content-addressed store, hash-verified

1322
1323
1324function publishExternalAPI(angular){
1325 extend(angular, {
1326 'bootstrap': bootstrap,
1327 'copy': copy,
1328 'extend': extend,
1329 'equals': equals,
1330 'element': jqLite,
1331 'forEach': forEach,
1332 'injector': createInjector,
1333 'noop':noop,
1334 'bind':bind,
1335 'toJson': toJson,
1336 'fromJson': fromJson,
1337 'identity':identity,
1338 'isUndefined': isUndefined,
1339 'isDefined': isDefined,
1340 'isString': isString,
1341 'isFunction': isFunction,
1342 'isObject': isObject,
1343 'isNumber': isNumber,
1344 'isElement': isElement,
1345 'isArray': isArray,
1346 'version': version,
1347 'isDate': isDate,
1348 'lowercase': lowercase,
1349 'uppercase': uppercase,
1350 'callbacks': {counter: 0}
1351 });
1352
1353 angularModule = setupModuleLoader(window);
1354 try {
1355 angularModule('ngLocale');
1356 } catch (e) {
1357 angularModule('ngLocale', []).provider('$locale', $LocaleProvider);
1358 }
1359
1360 angularModule('ng', ['ngLocale'], ['$provide',
1361 function ngModule($provide) {
1362 $provide.provider('$compile', $CompileProvider).
1363 directive({
1364 a: htmlAnchorDirective,
1365 input: inputDirective,
1366 textarea: inputDirective,
1367 form: formDirective,
1368 script: scriptDirective,
1369 select: selectDirective,
1370 style: styleDirective,
1371 option: optionDirective,
1372 ngBind: ngBindDirective,
1373 ngBindHtmlUnsafe: ngBindHtmlUnsafeDirective,
1374 ngBindTemplate: ngBindTemplateDirective,
1375 ngClass: ngClassDirective,
1376 ngClassEven: ngClassEvenDirective,
1377 ngClassOdd: ngClassOddDirective,
1378 ngCsp: ngCspDirective,
1379 ngCloak: ngCloakDirective,
1380 ngController: ngControllerDirective,
1381 ngForm: ngFormDirective,

Callers 1

angular.jsFile · 0.85

Calls 2

extendFunction · 0.85
setupModuleLoaderFunction · 0.85

Tested by

no test coverage detected