Usually MVC (asp.net) Json return Value assign to angularJS $scope.
But I need MVC Model variable directly use Like $scope .
app.controller('ConsultantPersonalInformationController',
function($scope, $filter, $http)
{
$scope.user = {
id: 1,
firstName: @Model.UserBaseViewModel.FirstName,
lastName: @Model.UserBaseViewModel.LastName };
}); Any one help me

Bhuvanesh MohankumarPosted May 2, 2016, 6:33 AM
Thiruppathi RPosted Apr 29, 2016, 8:06 AM
Bhuvanesh MohankumarPosted Apr 29, 2016, 7:51 AM