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