title: What is the purpose of AngularJS it() and describe() functions?
body: <p>I have some projects in Javascript/JQuery but AngularJS is a whole new concept to me. </p>
  
  <p>In the docs I have seen the following functions appear alot of time.</p>
  
  <pre><code>describe('PhoneListCtrl', function(){
  
    it('should create "phones" model with 3 phones', function() {
      var scope = {},
          ctrl = new PhoneListCtrl(scope);
  
      expect(scope.phones.length).toBe(3);
    });
  
  });
  </code></pre>
  
  <p>Are <code>describe()</code> and <code>it()</code> legitimate functions? From the tutorial docs I understand that they are for testing and mock up, but it is still unclear to me how I should run these functions, and if they are merely used as 'foo' and 'bar'. </p>