Cookbook: Hello World

Work in Progress This page is currently being revised. It might be incomplete or contain inaccuracies.
 Your name: <input type="text" name="name" value="World"/>
 <hr/>
 Hello {{name}}!
  it('should change the binding when user enters text', function(){
    expect(binding('name')).toEqual('World');
    input('name').enter('angular');
    expect(binding('name')).toEqual('angular');
  });

Things to notice

Take a look through the source and note: