95
rated 0 times
[
98]
[
3]
/ answers: 1 / hits: 35760
/ 8 Years ago, wed, march 9, 2016, 12:00:00
This is my code
$http.get(/Student/GetStudentById?studentId= + $scope.studentId + &collegeId= + $scope.collegeId)
.then(function (result) {
});
In the above code use http service for get student details based on id. but i want to write the above service string.format like in c#.net
(eg:- string.format(/Student/GetStudentById/{0}/collegeId/{1},studentId,collegeId)
More From » angularjs