function getContentByPath(path) {
      return $http.get('api/rest/raw/' + encodeURIComponent(path)).then(function (response) {
        return response.data;
      });
    }