I'm assingnin the response data to the $scope but the div with the ng-show remains hidden,I'm noob on angularjs,what is wrong??
else {
debugger;
$scope.exception = data.exception;//data arrives correcly
and the html
<div class="error-text" ng-show="exception.code">
but that it's not working and there is no error shown on the console