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

Angular Loader.js needs to be updated #40

@emmafaye

Description

@emmafaye

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions