Skip to content

Instantly share code, notes, and snippets.

@AFelipeTrujillo
Created February 26, 2016 18:27
Show Gist options
  • Save AFelipeTrujillo/a8a08d2dd0dfc016e8ff to your computer and use it in GitHub Desktop.
Save AFelipeTrujillo/a8a08d2dd0dfc016e8ff to your computer and use it in GitHub Desktop.
app.controller('controller',function($scope,defaultValue,calcService){
$scope.value = defaultValue;
$scope.number = 14;
$scope.result = calcService.isEven($scope.number);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment