I want to create an URL like:
http://localhost:3000/home/#/student/studentId=63
or
http://localhost:3000/home/#/student:studentId=63
without using the '?' character.
But the following code is not creating an URL like the ones above:
.state('home.student', {
url: 'student?courseId&studentId',
controller: 'StudentController',
templateUrl: 'student.view.html',
})
This state creates an URL like:
http://localhost:3000/home/#/student?studentId=63
.state('home.student', {
url: 'student/:courseId/:studentId/',
controller: 'StudentController',
templateUrl: 'student.view.html',
})
This state create url like
http://localhost:3000/home/#/student/63
Could someone please tell me how to create an URL like:
http://localhost:3000/home/#/student/studentId=63
or
http://localhost:3000/home/#/student:studentId=63
In the above URLs the '?' character is not needed.