mirror of
https://github.com/wahyd4/cdnjs.git
synced 2026-08-15 15:56:28 +10:00
Unifying with http://code.angularjs.org - see #2693 for background, hat tip to @willbutler. Adding missing .map files for 1.2.* and syncing files from http://code.angularjs.org
10 lines
1.5 KiB
JavaScript
10 lines
1.5 KiB
JavaScript
/*
|
|
AngularJS v1.2.1
|
|
(c) 2010-2012 Google, Inc. http://angularjs.org
|
|
License: MIT
|
|
*/
|
|
(function(){'use strict';function e(c){return function(){for(var a=arguments[0],b=1,a="["+(c?c+":":"")+a+"] http://errors.angularjs.org/1.2.1/"+(c?c+"/":"")+a;b<arguments.length;b++)a=a+(1==b?"?":"&")+"p"+(b-1)+"="+encodeURIComponent("function"==typeof arguments[b]?arguments[b].toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof arguments[b]?"undefined":"string"!=typeof arguments[b]?JSON.stringify(arguments[b]):arguments[b]);return Error(a)}}(function(c){function a(b,a,c){return b[a]||(b[a]=
|
|
c())}var b=e("$injector"),l=e("ng");return a(a(c,"angular",Object),"module",function(){var c={};return function(d,f,e){if("hasOwnProperty"===d)throw l("badname","module");f&&c.hasOwnProperty(d)&&(c[d]=null);return a(c,d,function(){function a(b,d,e){return function(){c[e||"push"]([b,d,arguments]);return g}}if(!f)throw b("nomod",d);var c=[],h=[],k=a("$injector","invoke"),g={_invokeQueue:c,_runBlocks:h,requires:f,name:d,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide",
|
|
"service"),value:a("$provide","value"),constant:a("$provide","constant","unshift"),animation:a("$animateProvider","register"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:k,run:function(a){h.push(a);return this}};e&&k(e);return g})}})})(window)})(window);
|
|
//# sourceMappingURL=angular-loader.min.js.map
|