Last active
June 22, 2017 11:33
-
-
Save michaeldeboeve/d3ecdf0ac8c424b2735a96e0bb0fab7e to your computer and use it in GitHub Desktop.
Load .json file in angular
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
$http.get('/path/to/myfile.json') | |
.then(function(response){ | |
$scope.myResult = response.data; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment