anchor.diff:      event.  And the <code>{{myname.value}}</code> binds the text node of the  <code>&lt;p&gt;</code> element to the
       input's value property.
     p Let's do something a little more complex where users enter items and add them to a list like this:
  -  div(align='center')
  +  figure.image-display
         img(src='user-input-example1.png')
   
   
  
positive.code:     list. Inside the controller, add an array with an initial list of items.  Then add a method that pushes new items
      on the array when called.
  
    pre.prettyprint.linenums.lang-javascript
      code.
        //ES5
        function TodoList() {
          this.todos = ["Eat Breakfast", "Walk Dog", "Breathe"];
          this.addTodo = function(todo) {
            this.todos.push(todo);
          };
        }
  
    pre.prettyprint.linenums.lang-typescript
      code.
        //TypeScript
        class TodoList {
          todos: Array&lt;string&gt;
          constructor() {
            this.todos = ["Eat Breakfast", "Walk Dog", "Breathe"];
          }
          addTodo(todo: string) {
            this.todos.push(todo);
          }
        }
  
  .callout.is-helpful
    header Production Best Practice
  
negative.code:   pre.prettyprint.lang-html
      code.
        &lt;input (keyup)="myControllerMethod()"&gt;
  
    h3#local-variables Local variables
    p.
      As in previous examples, you can make element references available to other parts of the template as a local
  