title: Performance of .constant added to scope
body: <p>I would like some thoughts on the performance of using constants in a view; is there a better way? (Bear with me, new to Angular)</p>
  
  <p>I am injecting constants, 'fieldConst,' as a dependency into a controller, like so:</p>
  
  <pre><code>(function() {
  'use strict';
  
  angular
      .module('myApp')
      .controller('jobsCtrl', ['$scope', 'jobsService', 'fieldConst', jobsCtrl]);
  
      function jobsCtrl($scope, jobsService, fieldConst) {
  
          $scope.fieldConst = fieldConst;
  
          // get Jobs
          var state = jobsService.getState();
          $scope.jobs = state.jobs;
      }
  })();
  </code></pre>
  
  <p>I am using these in my view, like so:</p>
  
  <pre><code>... 
  &lt;a ng-href="#" ng-repeat="job in jobs.records"&gt;
      &lt;h5&gt;{{ job[fieldConst.JOBNUMBER] }} {{ job[fieldConst.JOBTITLE] }}&lt;/h5&gt;
      &lt;small ng-switch on="job['isActive']"&gt;
  ...
  </code></pre>
  
  <p>Is this substantially less performant than using, say:</p>
  
  <p><code>&lt;h5&gt;{{ job.JobNumber] }} {{ job.jobTitle] }}&lt;/h5&gt;</code></p>
  
  <p>I have a large number of fields/properties being used across the app, and the names of these as defined in a database, are subject to change; thus the desire to use constants</p>