I would like to change the value of `$scope.complete` to `false` when the user clicks a particular URL. Is this possible to do in Angular? 

I show credit card form to the user based on this variable. On first page load the variable is true/false based on value coming from server side that suggests whether there is a credit card on file or not. 

If there is a credit card on file then I want to have a `change` url. Which, when clicked, would change the value of `$scope.complete` to false and the credit card form would show up. 

This is my code at the moment:

JS

```
  $scope.complete = false;
  djangoAuth.profile().then(function(data){
    $scope.model = data;
    if ($scope.model.profile.stripe_id.length <= 0)
      $scope.complete = false;
    else
      $scope.complete = true;
  });

```

html:

```
<div ng-if="complete == false">
 <!--show form-->
</div>
<div ng-if="complete == true">
 Credit card already on file. <a href="#">Change?</a>
</div>

```