2016-10-26 10 views
0

最近、アプリケーションを角度1.3.20に更新しました。しかし、アップグレード後、既存のコードは角度エラーを投げています。 searchController - ここで私は角度のJSエラー不明なプロバイダTemplateViewService <を取得しています。この行で Angular 1.3.20にアップグレードした後、角度構文が機能しない

app.controller('searchController', ['$scope','TemplateViewService','$http','SearchService','$browser','$rootScope','$state','$location', '$uibModal','ReadConfigurationService','$filter','SpinnerService','$log', function($scope,TemplateViewService,$http,SearchService,$browser,$rootScope,$state,$location, $uibModal,ReadConfigurationService,$filter,SpinnerService,$log){//PA1501-1206 
      var productType = undefined; 
      //PA1501-2173 start 
      $scope.dataList = SearchService.getDataList(); 
      $scope.dataListCopy = SearchService.getDataListCopy(); 
      $scope.deleteList = []; 
      $scope.displayArtifactList=[]; 
}; 

誰でもこのエラーを解決する方法をお勧めしますか?

+0

あなたは 'TemplateViewService'という名前のサービスを持っているし、あなたのindex.htmlで、そのファイルが含まれていないことを確認してください? – Sravan

+0

TemplateViewService jsファイルはこのファイルが正常に読み込まれていますか? – Jigar7521

答えて

0

これが原因TemplateViewServiceのjsファイルで起こっているのは、コンパイラを取得していない、それは再び....

関連する問題