Sha256: f8126c4800f36dc016c3c01091645b74ce0f684190f728dbea69323e60bc77c2
Contents?: true
Size: 328 Bytes
Versions: 15
Compression:
Stored size: 328 Bytes
Contents
app.controller('TraitCtrl', function ($scope, $stateParams, Documentation) { $scope.traitName = $stateParams.trait; $scope.apiVersion = $stateParams.version; Documentation.trait($stateParams.version, $scope.traitName).then(function(data) { $scope.trait = data; }, function() { $scope.error = true; }); });
Version data entries
15 entries across 15 versions & 1 rubygems