title: Display a $scope variable using another $scope variable
body: <h2>Display a scope variable which is similar to ng-repeat element in Angularjs</h2>
  <p>These are my scope variables</p>
  <pre><code>$scope.published = true;
  $scope.count = 3;
  </code></pre>
  <p>I also have an array called labels</p>
  <pre><code>$scope.labels = ['published', 'count'];
  </code></pre>
  <p>In the view I want to view these data as the label name - label value.</p>
  <pre><code>&lt;div ng-repeat=&quot;label in labels&quot;&gt;
      {{label}} -  {{Here I want the value from the Scope variable}}
  &lt;/div&gt;
  </code></pre>
  <p>Can someone help me how to access the scope variable in this kind of scenario?</p>