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.

Am I able to use ocLazyLoad? #54

@vitorcamachoo

Description

@vitorcamachoo

Hii, I'd like to be able to use ocLazyLoad in one of the available resolves like:

window.deferredBootstrapper.bootstrap({
  element: document.body,
  module: 'App',
  resolve: {
    THEME: function ThemeFn($rootScope, $q, $http, $ocLazyLoad) {
        return $http
           .get('angular module')
           .then(function(moduleName) {
               return $ocLazyLoad.load({ name: moduleName });
           });
    },
  },
});

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