Skip to content

Instantly share code, notes, and snippets.

@gsans
Last active October 13, 2015 20:38
Show Gist options
  • Save gsans/52830e329f7130ce7d99 to your computer and use it in GitHub Desktop.
Save gsans/52830e329f7130ce7d99 to your computer and use it in GitHub Desktop.
$http.get('movies.json')
.then(function(response){
$scope.movies= response.data;
})
.catch(function(error){
console.log(error);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment