anchor.diff:          if ($scope.onDemandRequiresCC) {
             $scope.$emit('userHasValidCC', data);
           }
  -        $scope.hide();
         });
       }
     }
  
positive.code: 
    $scope.changeCreditCard = function () {
      $scope.pendingPlan = $scope.me.plan;
      $modal({template: '/assets/account/credit_card.html', persist: true, show: true, backdrop: 'static', scope: $scope});
    }
  
    $scope.toggleDetails = function($event) {
      var btn = $($event.target);
  
negative.code:           $location.path('/account');
          });
        });
        $scope.$broadcast('openModal');
      }
    };
  }])
  