The conversation between human and AI assistant.
How do I store form values to a json file after filling the html form and submitting it, using angularjs?
Can you give me an example of how to use the ng-controller directive?
Sure. Here's an example:
```
<div ng-controller="myController">
  <form>
    <!-- form fields go here -->
  </form>
</div>
```