Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Angular Loader.js needs to be updated #40

Closed
emmafaye opened this issue Dec 28, 2012 · 3 comments
Closed

Angular Loader.js needs to be updated #40

emmafaye opened this issue Dec 28, 2012 · 3 comments

Comments

@emmafaye
Copy link

I came across a really strange issue where using the $script.js to asynchronously load files was causing some rather in-explainable errors.

I finally figured out that the issue was related to using $script.js to directly load angular.js with the app (as shown in the expample). When using a normal <script> tag to load angular it worked fine. However, the reason this is not working is because the angular loader.js file that is included inline in the angular-seed app on the index-async.html page is out of date.

For those of you who come across this problem, the easiest way to solve it is to grab the loader.js directly from the angularjs github, but you'll also need to grab the prefix and suffix to include at the beginning and end of the loader.js file.

@capaj
Copy link

capaj commented Jan 11, 2013

I have the same issue with angular index-async.html from Dec 06, 2012. I have copy pasted the whole loader.js into one piece here: http://pastebin.com/kXWRvRpm so you don't have to copy/paste 3 times like me. This new file needs to be added in the script tag, not in async loading sequence I think. I hope this gets fixed soon.

@mshanak
Copy link

mshanak commented May 3, 2013

this is the updated version of the index-async.html with no Errors , worked woth me :

https://github.com/DemonShi/angular-seed/blob/2a8b3465574e9fad208b64050ad30e9c45df4ac9/app/index-async.html

@btford
Copy link
Contributor

btford commented Jun 12, 2013

Updated via 220e8a5.

@btford btford closed this as completed Jun 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants