title: Load JSON file from the file name passed in the parameter
body: <p>I want to read data from json file. I passed the file name as parameter and try to load data from  <code>data/{{filename}}.json</code> 
  But it cannot found the file and shows this error message</p>
  
  <pre><code>data/%7B%7Bfilename%7D%7D.json 404 (Not Found)
  </code></pre>
  
  <p>Here is my function</p>
  
  <pre><code>    $scope.getSelectedCategoryData=function(fileName){
          $http.get('data/{{filename}}.json')
              .success(function (data) {
                  $scope.selectedCategoryData = data.GetAllData;
              })
              .error(function (data, status, headers, config) {
              })
      }
  </code></pre>
  
  <p>And my question is how can I load the file from the value passed in parameter. Is there any way like this?</p>
  
  <pre><code>&lt;img ng-src="img/{{image}}.png"/&gt;
  </code></pre>