Sha256: 18cb99040338fc183c9475be474d660bb2fac3cbd20aeeb09a15e7e31db33ad6

Contents?: true

Size: 374 Bytes

Versions: 8

Compression:

Stored size: 374 Bytes

Contents

app.controller("ControllerCtrl", function($scope, $stateParams, Documentation) {
  $scope.controllerName = $stateParams.controller;
  $scope.apiVersion = $stateParams.version;

  Documentation.getController($stateParams.version, $stateParams.controller).then(function(response) {
    $scope.controller = response.data;
  }, function() {
    $scope.error = true;
  })
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
praxis-0.13.0 lib/api_browser/app/js/controllers/controller.js
praxis-0.11.2 lib/api_browser/app/js/controllers/controller.js
praxis-0.11.1 lib/api_browser/app/js/controllers/controller.js
praxis-0.11 lib/api_browser/app/js/controllers/controller.js
praxis-0.11pre lib/api_browser/app/js/controllers/controller.js
praxis-0.10.1 lib/api_browser/app/js/controllers/controller.js
praxis-0.10.0 lib/api_browser/app/js/controllers/controller.js
praxis-0.9 lib/api_browser/app/js/controllers/controller.js