for(a in $scope.datas)console.log($scope.datas[a]); shows the json array one character per line.
console.dir(functor); -functor is not defined
console.dir($scope.getdata()); -undefined
Tried all these inside http.get success. I am fresher programmer and I don't know exactly whether I am doing it right