app.jsПеренаправление в location.path() AngularJS метод
.when('/ModifyStructure/{c}', {
templateUrl: 'views/ModifyStructure.html',
controller: 'ModifyStructureCTRL'
}
метод
$scope.editST = function (ids) {
var c = ids.substring(1, 3);
$location.path('http://localhost:8080/structure/ModifyStructure/' + c);
}
почему, когда excuting этот метод, навигатор перенаправить меня на путь '/' ?
Попробуйте использовать '$ location.path ('/ ModifyStructure /' + с);' –