Skip to content

Instantly share code, notes, and snippets.

@chandermani
Created February 1, 2014 09:43
Show Gist options
  • Save chandermani/8750158 to your computer and use it in GitHub Desktop.
Save chandermani/8750158 to your computer and use it in GitHub Desktop.
$http({method: 'GET', url: '/someUrl'})
.success(function(data) {
$scope.foo = data;
});
<!--In HTML-->
<p>{{foo}}</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment