lib/public/javascripts/angular/controllers.js in memcached-manager-0.2.1 vs lib/public/javascripts/angular/controllers.js in memcached-manager-0.2.2

- old
+ new

@@ -1,6 +1,9 @@ controllers.controller('ListKeysController', ['$scope', 'Keys', '$state', '$location', function($scope, Keys, $state, $location) { $scope.keys = Keys.get(); + $scope.showKeys = function() { + $state.transitionTo('showKeys'); + }; }]); controllers.controller('CreateKeyController', ['$scope', 'Keys', '$state', '$location', 'Notification', 'Response', function($scope, Keys, $state, $location, Notification, Response) { $scope.createKey = function() { pair = { key: $scope.pair.key, value: $scope.pair.value };