Skip to content

Instantly share code, notes, and snippets.

Created August 5, 2013 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f53708f4fb9ce53cb9ea to your computer and use it in GitHub Desktop.
Save anonymous/f53708f4fb9ce53cb9ea to your computer and use it in GitHub Desktop.
Restagular.one('someVariable').get({someParameter: $stateParams.someParameter})
.then(function(result){
$scope.someVariable = result;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment