title: How to get parent node in angular
body: <p>I loop an array inside another array in angular.</p>
  
  <pre><code>fields:
              [
                  {
                      label: 'First Name',
                      name: 'firstname',
                      key: '',
                      type: 'text',
                      //fixa requierd i templatesen
                      required: true
                  },
                  {
                      label: 'Last Name',
                      name: 'lastname',
                      key: '',
                      required: true,
                  },
                  {
                      label: 'Email',
                      name: 'email',
                      key: '',
                      required: true,
                      type: 'email',
                  },
                  {
                      key: 'test',
                      type: 'radio',
                      labels:
                      [
                          {
                              name: 'media',
                              label: 'Media'
                          },
                          {
                              name: 'frilans',
                              label: 'Frilans'
  
                          }
  
                      ],
                  }
              ],
  </code></pre>
  
  <p>Whilst looping through field.labels, I want to access it's sibling "key". I tried using $parent scope, but that will include the entire scope. Then angular doesn't know what key it should use.</p>