You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.
We have upgraded angularjs 1.3 to 1.5.5 and upgraded ui router. We are using OC Lazy Loading using requirejs but modules is not hitting. In App.client.module we are using $locationChangeStart and stateChangeStart. Since stateChangeStart is depricated we are using transition.onstart(). Able to load html but unabe to load requireJs module.
Whether I am facing issue in oclazyload or transion not able to conclude.
Hi @christopherthielen ,
We have upgraded angularjs 1.3 to 1.5.5 and upgraded ui router. We are using OC Lazy Loading using requirejs but modules is not hitting. In App.client.module we are using $locationChangeStart and stateChangeStart. Since stateChangeStart is depricated we are using transition.onstart(). Able to load html but unabe to load requireJs module.
Whether I am facing issue in oclazyload or transion not able to conclude.
Please provide me your valuable suggestion.
"@uirouter/angularjs": "^1.0.12",
"@uirouter/core": "^5.0.13",
"@uirouter/sticky-states": "^1.4.1",
Routes.js
angular.module('routes').config(['$stateProvider', 'Constants',
function ($stateProvider, Constants) {
// Users state routing
$stateProvider.state(Constants.MODULES.users, {
url: '/user',
lazyModule: Constants.MODULES.users,
lazyTemplateUrl: 'user.client.view.html',
lazyFiles: 'userModule'
Module
'use strict';
define(['./controllers/authentication.client.controller',
'./controllers/user.view.client.controller',
'./controllers/user.edit.client.controller',
'./services/users.client.service',
'./filters/stringArray.client.filter',
'../modules/common/services/confirm.popup.service',
'angularUIGrid',
'ngFileUpload',
'ngFileUploadShim',
'appModule'],
function (authenticationController, userViewController, userEditController, userService, stringArrayFilter,confimPopupService) {
// Use Applicaion configuration module to register a new module
var userModule = ApplicationConfiguration.registerModule('users', ['ui.grid', 'ui.bootstrap','ngFileUpload']);
userModule.factory(userService[0], userService[1]);
userModule.controller(authenticationController[0], authenticationController[1]);
userModule.controller(userEditController[0], userEditController[1]);
userModule.controller(userViewController[0], userViewController[1]).filter(stringArrayFilter[0], stringArrayFilter[1]);
userModule.factory(confimPopupService[0], confimPopupService[1]);
});
The text was updated successfully, but these errors were encountered: