(angular)
| 2388 | |
| 2389 | |
| 2390 | function publishExternalAPI(angular) { |
| 2391 | extend(angular, { |
| 2392 | 'bootstrap': bootstrap, |
| 2393 | 'copy': copy, |
| 2394 | 'extend': extend, |
| 2395 | 'merge': merge, |
| 2396 | 'equals': equals, |
| 2397 | 'element': jqLite, |
| 2398 | 'forEach': forEach, |
| 2399 | 'injector': createInjector, |
| 2400 | 'noop': noop, |
| 2401 | 'bind': bind, |
| 2402 | 'toJson': toJson, |
| 2403 | 'fromJson': fromJson, |
| 2404 | 'identity': identity, |
| 2405 | 'isUndefined': isUndefined, |
| 2406 | 'isDefined': isDefined, |
| 2407 | 'isString': isString, |
| 2408 | 'isFunction': isFunction, |
| 2409 | 'isObject': isObject, |
| 2410 | 'isNumber': isNumber, |
| 2411 | 'isElement': isElement, |
| 2412 | 'isArray': isArray, |
| 2413 | 'version': version, |
| 2414 | 'isDate': isDate, |
| 2415 | 'lowercase': lowercase, |
| 2416 | 'uppercase': uppercase, |
| 2417 | 'callbacks': {counter: 0}, |
| 2418 | 'getTestability': getTestability, |
| 2419 | '$$minErr': minErr, |
| 2420 | '$$csp': csp, |
| 2421 | 'reloadWithDebugInfo': reloadWithDebugInfo |
| 2422 | }); |
| 2423 | |
| 2424 | angularModule = setupModuleLoader(window); |
| 2425 | |
| 2426 | angularModule('ng', ['ngLocale'], ['$provide', |
| 2427 | function ngModule($provide) { |
| 2428 | // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it. |
| 2429 | $provide.provider({ |
| 2430 | $$sanitizeUri: $$SanitizeUriProvider |
| 2431 | }); |
| 2432 | $provide.provider('$compile', $CompileProvider). |
| 2433 | directive({ |
| 2434 | a: htmlAnchorDirective, |
| 2435 | input: inputDirective, |
| 2436 | textarea: inputDirective, |
| 2437 | form: formDirective, |
| 2438 | script: scriptDirective, |
| 2439 | select: selectDirective, |
| 2440 | style: styleDirective, |
| 2441 | option: optionDirective, |
| 2442 | ngBind: ngBindDirective, |
| 2443 | ngBindHtml: ngBindHtmlDirective, |
| 2444 | ngBindTemplate: ngBindTemplateDirective, |
| 2445 | ngClass: ngClassDirective, |
| 2446 | ngClassEven: ngClassEvenDirective, |
| 2447 | ngClassOdd: ngClassOddDirective, |
no test coverage detected