I have no problems when I read an object in view. For example my code was:
angular.module('myApp',[])
.controller('myCtrl',function($scope){
var AnswerScheme = $scope.AnswerScheme = tbl_qst_master_answer.getByAnswerId(AnswerIdSelectedByStudent);
});
In my view:
{{AnswerScheme[0]}} // Then the output will be: {"myTestData":123}
However, I got problems if I want to read in the controller
AnswerScheme[0] // Then no results
How to read the object in myCtrl?
s a http call you should resolve the promisse before get the value, thats why you have no results