eventric
Version:
Build JavaScript applications with Behaviour-driven Domain Design. Based on DDD, BDD, CQRS and EventSourcing.
11 lines (9 loc) • 309 B
text/coffeescript
angular.module("EventricDocs.Controller.DocsPageCtrl", [])
.controller "DocsPageCtrl", [
"$scope", "$stateParams"
($scope, $stateParams) ->
console.log $stateParams
$scope.functionName = $stateParams.functionName
$scope.functionView = "/views/"+$stateParams.functionName+".html"
return
]