feedback feature
This commit is contained in:
parent
aa887dfc5e
commit
b64e80478e
14 changed files with 344 additions and 3 deletions
22
src/js/controllers/feedback/rateAppStore.js
Normal file
22
src/js/controllers/feedback/rateAppStore.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('rateAppStoreController', function($scope, $state, $stateParams) {
|
||||
$scope.score = parseInt($stateParams.score);
|
||||
|
||||
$scope.skip = function() {
|
||||
$state.go('feedback.thanks', {
|
||||
score: $scope.score,
|
||||
skip: true
|
||||
});
|
||||
};
|
||||
|
||||
$scope.sendFeedback = function() {
|
||||
$state.go('feedback.sendFeedback', {
|
||||
score: $scope.score
|
||||
});
|
||||
};
|
||||
|
||||
$scope.goAppStore = function() {
|
||||
|
||||
};
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue