I created a multistep form using ng switch and 3 forms , in order to preserve the data over the forms I created one service using factory method.But I'm trying to create a reset button and I want to clear the data in all fields in current displayed form keeping the data in other forms which should be reflected in model created by factory.I tried to use setpristine over the form but model is not getting updated .
please help and check below js bin link
<http://jsbin.com/raxorewuma/edit?html,css,js,output>

```
  angular.module('bankAppOnline', [])
                          .controller('CustomerCtrl', function ($scope) {
                            $scope.step = 1;

                            $scope.advance = function () {
                              $scope.step++;
                            }
                             $scope.previous = function () {

                              $scope.step--;
                            }

                          })
                          .controller('firstformCtrl', function ($scope, Customer) {
                            $scope.customer = Customer.get();
                          $scope.reset = function() {

                                $scope.firstform.$setPristine();
                                //$scope.customer = Customer.get();
                            }  
                          })
                          .controller('secondformCtrl', function ($scope, Customer) {
                            $scope.customer = Customer.get();
                            console.log( $scope.customer );
                          })
                            .controller('thirdformCtrl', function ($scope, Customer) {
                            $scope.customer = Customer.get();
                            console.log( $scope.customer );
                          })
                          .factory('Customer', function () {
                            var customer = {
                              firstname: "",
                              lastname: "",
                              age:"",
                              city:"",
                              profession:"",    
                              mobile:"" ,
                             pan:"",
                             income:"", 
                             company:"",
                             designation:"",
                             profession:"",
                             address:"",
                             pin:"",
                             accountType:"" ,
                             fdCheck:"",
                             creditCardCheck:""
                            };

                            return {
                              get: function () {
                                return customer;
                              }
                            }
                          })

                          .controller('DebugCtrl', function ($scope, Customer) {
                            $scope.customer = Customer.get();
                          });// Empty JS for your own code to be here

```