You are a life saver. Thank you.

On Thursday, April 26, 2012 9:31:08 PM UTC-7, Misko Hevery wrote:
>
> With script loaders you can not use ng-app, since angular does not know 
> when all of the scripts are loaded and incorrectly assumes that 
> DOM_CONTENT_READY event implies all scripts loaded.
>
> Instead remove ng-app and programmatically when all scripts get loaded do: 
> angular.bootstrap(document, ['MyModule']);
>
> On Thu, Apr 26, 2012 at 1:51 PM, Eric Jain <eric...@gmail.com 
> <javascript:>> wrote:
>
>> On Apr 26, 1:34 pm, "Robert B. Weeks" <vai...@vaiism.com> wrote:
>> > Try setting 'class="ng-app"' where you are defining your ng-app. This 
>> can cause issues in IE I have seen. As for the Chrome error - not sure off 
>> the top of my head why you would be getting that.
>>
>> I added class="ng-app:MyModule", but still get the same error with
>> Internet Explorer (clearing the cache isn't enough; I also need to
>> restart Internet Explorer to get the error).
>>
>> Haven't been able to reproduce the error with Chrome or Firefox, but I
>> did see it once or twice before.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "AngularJS" group.
>> To post to this group, send email to ang...@googlegroups.com 
>> <javascript:>.
>> To unsubscribe from this group, send email to 
>> angular+u...@googlegroups.com <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 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to