Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Loading config data from an angular.factory #56

@ewahner

Description

@ewahner

You state that I should be able to resolve data from a custom service that I have written but it wasn't clear if this could be from an angular.factory.

        deferredBootstrapper.bootstrap({
            element: document.body,
            module: "app",
            resolve: {
                crmConfig: ["tenantService", (tenantService) => tenantService.currentTenant().then((data) => data)]
            }
        });

"tenantService" is declared as an angular.factory. It seems like it doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions