Skip to content

Instantly share code, notes, and snippets.

@douglasduteil
Created September 11, 2012 01:20
Show Gist options
  • Save douglasduteil/3695270 to your computer and use it in GitHub Desktop.
Save douglasduteil/3695270 to your computer and use it in GitHub Desktop.
Missing « controller » in the angular.Module interface of the angularloader.js (see https://github.com/angular/angular-seed/blob/master/app/index-async.html)
// include angular loader, which allows the files to load in any order
/*
AngularJS v1.0.0rc1
(c) 2010-2012 AngularJS http://angularjs.org
License: MIT
*/
'use strict';(function(i){function d(c,a,e){return c[a]||(c[a]=e())}return d(d(i,"angular",Object),"module",function(){var c={};return function(a,e,f){e&&c.hasOwnProperty(a)&&(c[a]=null);return d(c,a,function(){function b(a,b,d){return function(){c[d||"push"]([a,b,arguments]);return g}}if(!e)throw Error("No module: "+a);var c=[],d=[],h=b("$injector","invoke"),g={_invokeQueue:c,_runBlocks:d,requires:e,name:a,provider:b("$provide","provider"),factory:b("$provide","factory"),service:b("$provide","service"),
value:b("$provide","value"),constant:b("$provide","constant","unshift"),filter:b("$filterProvider","register"),controller:b('$controllerProvider', 'register'),directive:b("$compileProvider","directive"),config:h,run:function(a){d.push(a);return this}};f&&h(f);return g})}})})(window);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment