I'm facing the same problem , with dynamic injection of controller, 
function is not defined, 
And $controllerProvider is not getting injected

On Wednesday, April 4, 2012 at 9:43:19 PM UTC+5:30, Igor Minar wrote:
>
> yes. the controller resolution is documented here: 
> http://docs-next.angularjs.org/api/angular.module.ng.$controller
>
> On Wed, Apr 4, 2012 at 8:27 AM, Peter Bacon Darwin <[email protected] 
> <javascript:>> wrote:
>
>> Oh nice!  I missed that one.  So does that mean that the compiler will 
>> pick up the FooCtrl out of the ng-app module?
>>
>>
>> On 4 April 2012 16:25, Igor Minar <[email protected] <javascript:>> 
>> wrote:
>>
>>>
>>> I believe that there are plans to attach controllers to modules in the 
>>> same way you can do so with services and directives but that this is going 
>>> to be post 1.0.
>>>
>>> this was already done in rc3, myModule.controller('FooCtrl', fn);
>>>
>>> /i
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "AngularJS" group.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To unsubscribe from this group, send email to [email protected] 
>> <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/angular?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/3a5fb01e-0bc2-413e-8908-b44e3d55f90b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to