Skip to content

Instantly share code, notes, and snippets.

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