I have the folowing link in asp.net mvc:
@Html.ActionLink(user.Alias.ToUpper(), "Employee", new { controller = "User", id = user.Alias, area = "Organization" }
(.../Organization/Employee/someId#/)
how can I get id value in angularjs controller?
.controller('UserCtrl', function ($scope, $location, User) {
$scope.user = User.get({ id: ??? })
})
thanks in advance for any help!