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