@@ -226,8 +226,10 @@ starter.controller('showCtrl',["$scope",'$ionicHistory','$state','$timeout','$st
}])
starter.filter('filet', function () {
return function (filepath) {
- var pos = filepath.replace(".xlsx", "");
- return pos;
+ if(filepath){
+ var pos = filepath.replace(".xlsx", "");
+ return pos;
+ }
};
})
starter.directive('main', function() {