aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 9b0c4e23..29199f9b 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -1015,6 +1015,34 @@ function assertArgFn(arg, name) {
return arg;
}
+function publishExternalAPI(angular){
+ extend(angular, {
+ // disabled for now until we agree on public name
+ //'annotate': annotate,
+ 'copy': copy,
+ 'extend': extend,
+ 'equals': equals,
+ 'forEach': forEach,
+ 'injector': createInjector,
+ 'noop':noop,
+ 'bind':bind,
+ 'toJson': toJson,
+ 'fromJson': fromJson,
+ 'identity':identity,
+ 'isUndefined': isUndefined,
+ 'isDefined': isDefined,
+ 'isString': isString,
+ 'isFunction': isFunction,
+ 'isObject': isObject,
+ 'isNumber': isNumber,
+ 'isArray': isArray,
+ 'version': version,
+ 'isDate': isDate,
+ 'lowercase': lowercase,
+ 'uppercase': uppercase
+ });
+}
+
/**
* @ngdoc property