Angular JS ui-router is published on Windows Server 2012 R2 Server IIS and occasionally appears "Reference Error: setUrl is not defined", but publishing to local IIS will not cause problems, IIS are the same configuration, while I will route the configuration:
$stateProvider.state('account', { url: '/account', template: '<div class="dark bg-auto w-full"><div ui-view class="fade-in-right-big smooth pos-rlt"></div></div>' }).state("account.login", { url: '/login', templateUrl: "views/pages/account/signin.html", //登录页面 params: { returnUrl: null }, data: {}, resolve: load(['views/pages/account/signin.js']) })
If I change template Url to template: "
The server intercepts and automatically fills a flash. JS file when the UI-VIEW does not load data. The error of replacing the website with HTTPS disappears
This is a (check one box):
My version of UI-Router is: (type version)
Bug Report
Current Behavior:
Angular JS ui-router is published on Windows Server 2012 R2 Server IIS and occasionally appears "Reference Error: setUrl is not defined", but publishing to local IIS will not cause problems, IIS are the same configuration, while I will route the configuration:
$stateProvider.state('account', { url: '/account', template: '<div class="dark bg-auto w-full"><div ui-view class="fade-in-right-big smooth pos-rlt"></div></div>' }).state("account.login", { url: '/login', templateUrl: "views/pages/account/signin.html", //登录页面 params: { returnUrl: null }, data: {}, resolve: load(['views/pages/account/signin.js']) })
If I change template Url to template: "Expected Behavior:
No mistake
The server intercepts and automatically fills a flash. JS file when the UI-VIEW does not load data. The error of replacing the website with HTTPS disappears