title: JSON output using AngularJS
body: <p>I am trying to output JSON in a table format using AngularJS where I get columns and rows but don't know where to start. I worked a little but can't get anywhere. Can anyone help me output JSON. Please find below output of the table should look like and the JSON</p>
  
  <pre><code>**OUTPUT:**
  
  
   Todays Date           |  Yesterdays Date      | Current Date        |     Close Date
  
   4/13/13 8:29:09 PM       4/12/13 1:20:09 PM     5/13/13 4:29:09 PM      5/13/13 4:29:09 PM
   4/13/13 8:29:09 PM       4/12/13 1:20:09 PM     5/13/13 4:29:09 PM      5/13/13 4:29:09 PM
   4/13/13 8:29:09 PM       4/12/13 1:20:09 PM     5/13/13 4:29:09 PM      5/13/13 4:29:09 PM
   4/13/13 8:29:09 PM       4/12/13 1:20:09 PM     5/13/13 4:29:09 PM      5/13/13 4:29:09 PM  
  
  **JSON:**
  
   "results": [
      {
          "id": 62,
          "projectname": "Test1 ||",
          "columns": [
              {
                  "id": 797,
                  "text": "Todays Date" 
              },
              {
                  "id": 798,
                  "text": "Yesterdays Date",
              },
              {
                  "id": 818,
                  "text": "Current Date"
              },
              {
                  "id": 816,
                  "text": "Close Date",
              },
              {
                  "id": 815,
                  "text": "Submit Date",
              }
          ],
          "rows": [
              {
                  "TodaysDate": "4/13/13 8:29:09 PM",
                  "YesterdaysDate": "4/12/13 1:20:09 PM",
                  "CurrentDate": "5/13/13 4:29:09 PM",
                  "CLOSEDATE": "5/13/13 4:29:09 PM",
              },
              {
                  "TodaysDate": "3/13/13 1:05:09 PM",
                  "YesterdaysDate": "3/12/13 2:29:09 PM",
                  "CurrentDate": "5/13/13 4:29:09 PM",
                  "CLOSEDATE": "5/13/13 4:29:09 PM",
              },
              {
                  "TodaysDate": "2/1/13 9:56:09 PM",
                  "YesterdaysDate": "5/13/13 2:20:09 PM",
                  "CurrentDate": "5/13/13 4:29:09 PM",
                  "CLOSEDATE": "5/13/13 4:29:09 PM",
              },
  
          }
  
         }
      }
   }
  </code></pre>