I'm currently working on converting the JSFiddle found here to AngularJS: http://jsfiddle.net/danlec/nNesx/
Here is my attempt in JSFiddle: http://jsfiddle.net/leighboone/U3pVM/11279/
var onAuthorize = function () {
updateLoggedIn();
$scope.testname = "this works";
Trello.members.get("me", function (member, $scope) {
var test = member.fullName;
console.log(test)
$scope.$apply(function(){$scope.applytest = member.fullName;})
$scope.member = member.fullName;
});
};
Despite trying various solutions, I am facing difficulties assigning member.fullName
to $scope.member
.
Even after using $scope.$apply(function(){})
, an error keeps popping up:
undefined is not a function
It's frustrating as I'm running out of ideas on how to resolve this issue. :(