(angular)
| 1998 | |
| 1999 | |
| 2000 | function publishExternalAPI(angular){ |
| 2001 | extend(angular, { |
| 2002 | 'bootstrap': bootstrap, |
| 2003 | 'copy': copy, |
| 2004 | 'extend': extend, |
| 2005 | 'equals': equals, |
| 2006 | 'element': jqLite, |
| 2007 | 'forEach': forEach, |
| 2008 | 'injector': createInjector, |
| 2009 | 'noop': noop, |
| 2010 | 'bind': bind, |
| 2011 | 'toJson': toJson, |
| 2012 | 'fromJson': fromJson, |
| 2013 | 'identity': identity, |
| 2014 | 'isUndefined': isUndefined, |
| 2015 | 'isDefined': isDefined, |
| 2016 | 'isString': isString, |
| 2017 | 'isFunction': isFunction, |
| 2018 | 'isObject': isObject, |
| 2019 | 'isNumber': isNumber, |
| 2020 | 'isElement': isElement, |
| 2021 | 'isArray': isArray, |
| 2022 | 'version': version, |
| 2023 | 'isDate': isDate, |
| 2024 | 'lowercase': lowercase, |
| 2025 | 'uppercase': uppercase, |
| 2026 | 'callbacks': {counter: 0}, |
| 2027 | '$$minErr': minErr, |
| 2028 | '$$csp': csp |
| 2029 | }); |
| 2030 | |
| 2031 | angularModule = setupModuleLoader(window); |
| 2032 | try { |
| 2033 | angularModule('ngLocale'); |
| 2034 | } catch (e) { |
| 2035 | angularModule('ngLocale', []).provider('$locale', $LocaleProvider); |
| 2036 | } |
| 2037 | |
| 2038 | angularModule('ng', ['ngLocale'], ['$provide', |
| 2039 | function ngModule($provide) { |
| 2040 | // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it. |
| 2041 | $provide.provider({ |
| 2042 | $$sanitizeUri: $$SanitizeUriProvider |
| 2043 | }); |
| 2044 | $provide.provider('$compile', $CompileProvider). |
| 2045 | directive({ |
| 2046 | a: htmlAnchorDirective, |
| 2047 | input: inputDirective, |
| 2048 | textarea: inputDirective, |
| 2049 | form: formDirective, |
| 2050 | script: scriptDirective, |
| 2051 | select: selectDirective, |
| 2052 | style: styleDirective, |
| 2053 | option: optionDirective, |
| 2054 | ngBind: ngBindDirective, |
| 2055 | ngBindHtml: ngBindHtmlDirective, |
| 2056 | ngBindTemplate: ngBindTemplateDirective, |
| 2057 | ngClass: ngClassDirective, |
no test coverage detected