Hello, I have a problem. This two URLs are different: "localhost/timer/"
and "localhost/timer". I wrote some routes:
@RouteConfig([
{ path: '/timer/', name: 'Timer', component: TimerComponent},
{ path: '/alarm', name:'Alarm', component: AlarmComponent},
{ path: '/', name:'Home', component: AlarmComponent, useAsDefault:
true },
new Route({path: '/**', component: NotFound})
])
There are some problem when I trying input this URL: "localhost/timer/".
All my js libraries which loaded by "script" tag, they were loaded from
"localhost/timer/my/library/path", but they were from
'localhost/my/library/path'.
How to fix this issue? Thank you for your answers!
P.S. "localhost/timer" this URL works correctly
P.S.S I also tried this:
{ path: '/timer', name: 'Timer', component: TimerComponent},
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.