Created
June 8, 2014 10:16
-
-
Save unk/2d11ae0fc68cbd2ed0e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.controller('ListCtrl', ['$scope', 'List' , function($scope, List) { | |
List.contents().then(function(data) { | |
$scope.result = data.content; | |
} ) | |
console.log($scope.result); //->undefined 출력 | |
} ] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment