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


Bhuvanesh MohankumarRank #310 · 8.1K reputationPosted Apr 29, 2016, 3:51 AM EDT
Thiruppathi RRank #404 · 6.2K reputationPosted Apr 29, 2016, 4:06 AM EDT
Bhuvanesh MohankumarRank #310 · 8.1K reputationPosted May 2, 2016, 2:33 AM EDT