Skip to content

Instantly share code, notes, and snippets.

Created August 5, 2013 19:19
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/a9bf406f95b86d9a13ff to your computer and use it in GitHub Desktop.
Save anonymous/a9bf406f95b86d9a13ff to your computer and use it in GitHub Desktop.
.controller('MyController', ['Restangular', '$scope', '$stateParams', function(Restangular, $scope, $stateParams){
$scope.someOtherVariables = Restagular.all('someOtherVariables').getList({
someOtherParameter: $stateParams.someOtherParameter,
someEvenOtherParameter: $stateParams.someEvenOtherParameter
});
}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment