Last active
March 20, 2016 05:01
-
-
Save ezy/edc8645f97dd92905c3c to your computer and use it in GitHub Desktop.
Quick and dirty angular http controller get for a single result
This file contains hidden or 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
# del -> | |
$scope.ext = [] | |
$http.get('/data/social.json').then (result) -> | |
$scope.ext = result.data.fetchr[9] | |
console.log($scope.ext) | |
return | |
# -> del |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment