in a html simple page, i have 3 button that redirects to my application.
for example:
button1 redirect to /myapp/#/param1
button2 redirect to /myapp/#/param2
button3 redirect to /myapp/#/param3
in my app.js, i have the first routing:
var home = {
url: '/home',
name: '/',
templateUrl: 'views/main.html',
controller: 'MainCtrl'
}
in the main Controller i have the operator $location that give me if the url contain param1 or param2 or param3.
The problem is that if i click every button and i open the dev console of browser, the call is /myapp/ and the real routing go to / without params.
I not have founded nothing of the angularjs configuration that hide the #/... of redirects button path.
Thank you for the response
Comments
Post a Comment