Closed wangjild closed 8 years ago
I configed the locationProvider and set baseHref in index.html, angular-ui-router work fine in this mode,
but ozLazyLoad do not auto append the '/tango/' in front of required url
in my app.coffee
app.config [ '$locationProvider' ($locationProvider) -> $locationProvider.html5Mode(true).hashPrefix('!') ] resolve: deps: [ '$ocLazyLoad' ($ocLazyLoad) -> $ocLazyLoad.load name: 'app' insertBefore: '#ng_load_plugins_before' files: [ 'js/controllers/DashboardController.js' ]
and in my index.html
<base href="/tango/">
sorry it my mistake
What was the actual fix?
I configed the locationProvider and set baseHref in index.html, angular-ui-router work fine in this mode,
but ozLazyLoad do not auto append the '/tango/' in front of required url
in my app.coffee
and in my index.html