<!DOCTYPE html>
<html ng-app>
  <body>
    <form>
      <input type="hidden" value="{{value}}" />
      <button ng-click="value = '{{ 7 * 6 }}'">Click me</button>
    </form>
    <script src="angular.js"></script>
  </body>
</html>