0
私は輸出表のプラグインfound hereを使用しています。 私はモジュール「スマート・テーブル」を追加したが、私はエラーが取得しています:エラーが発生しました:「モジュール 'スマートテーブル'は利用できません!」私のjsファイル
Module 'smart-table' is not available!
(function() {
angular.module('portal', [
'ui.router',
'ceibo.components.table.export',
'smart-table']);
})();
スマートテーブルのプラグインファイルは次のとおりです。
(function() {
angular.module('smart-table')
.directive('stFilteredCollection', function() {
return {
restrict: 'A',
require: '^stTable',
scope: {
stFilteredCollection: '='
},
controller: 'stTableController',
link: function(scope, element, attr, ctrl) {
scope.$watch(function() {
return ctrl.getFilteredCollection();
}, function(newValue, oldValue) {
scope.stFilteredCollection = ctrl.getFilteredCollection();
});
}
};
});
})();
私のミスはどこにあるの?
私もそれをしましたが、同じエラーが発生しています – Nikse