(angular)
| 2426 | |
| 2427 | |
| 2428 | function publishExternalAPI(angular) { |
| 2429 | extend(angular, { |
| 2430 | 'bootstrap': bootstrap, |
| 2431 | 'copy': copy, |
| 2432 | 'extend': extend, |
| 2433 | 'merge': merge, |
| 2434 | 'equals': equals, |
| 2435 | 'element': jqLite, |
| 2436 | 'forEach': forEach, |
| 2437 | 'injector': createInjector, |
| 2438 | 'noop': noop, |
| 2439 | 'bind': bind, |
| 2440 | 'toJson': toJson, |
| 2441 | 'fromJson': fromJson, |
| 2442 | 'identity': identity, |
| 2443 | 'isUndefined': isUndefined, |
| 2444 | 'isDefined': isDefined, |
| 2445 | 'isString': isString, |
| 2446 | 'isFunction': isFunction, |
| 2447 | 'isObject': isObject, |
| 2448 | 'isNumber': isNumber, |
| 2449 | 'isElement': isElement, |
| 2450 | 'isArray': isArray, |
| 2451 | 'version': version, |
| 2452 | 'isDate': isDate, |
| 2453 | 'lowercase': lowercase, |
| 2454 | 'uppercase': uppercase, |
| 2455 | 'callbacks': {counter: 0}, |
| 2456 | 'getTestability': getTestability, |
| 2457 | '$$minErr': minErr, |
| 2458 | '$$csp': csp, |
| 2459 | 'reloadWithDebugInfo': reloadWithDebugInfo |
| 2460 | }); |
| 2461 | |
| 2462 | angularModule = setupModuleLoader(window); |
| 2463 | |
| 2464 | angularModule('ng', ['ngLocale'], ['$provide', |
| 2465 | function ngModule($provide) { |
| 2466 | // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it. |
| 2467 | $provide.provider({ |
| 2468 | $$sanitizeUri: $$SanitizeUriProvider |
| 2469 | }); |
| 2470 | $provide.provider('$compile', $CompileProvider). |
| 2471 | directive({ |
| 2472 | a: htmlAnchorDirective, |
| 2473 | input: inputDirective, |
| 2474 | textarea: inputDirective, |
| 2475 | form: formDirective, |
| 2476 | script: scriptDirective, |
| 2477 | select: selectDirective, |
| 2478 | style: styleDirective, |
| 2479 | option: optionDirective, |
| 2480 | ngBind: ngBindDirective, |
| 2481 | ngBindHtml: ngBindHtmlDirective, |
| 2482 | ngBindTemplate: ngBindTemplateDirective, |
| 2483 | ngClass: ngClassDirective, |
| 2484 | ngClassEven: ngClassEvenDirective, |
| 2485 | ngClassOdd: ngClassOddDirective, |
no test coverage detected