Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- angular.module('ReportTableModule').
- directive('graphLine', function() {
- return {
- restrict: 'E',
- template: 'okay'
- };
- }).
- directive('reportTable', function() {
- return {
- restrict: 'E',
- controller: 'ReportTableController',
- controllerAs: 'ctrl',
- scope: {
- datas :'=myData',
- onSave : '&',
- editable : "<",
- headers : "<",
- },
- templateUrl: '/static/rfapp/src/report-table/templates/template_table.html',
- };
- }).
- directive('reportHeader', function() {
- return {
- restrict: 'A',
- scope: {
- headerRows : "=",
- milestoneYears : "=",
- dataColumns : "=columns"
- },
- replace: false,
- templateUrl: '/static/rfapp/src/report-table/templates/template_table_header.html',
- };
- }).
- directive('editableTd', function() {
- return {
- scope: {
- val : "=",
- rowsp : "=",
- colsp : "=",
- },
- replace: true,
- templateUrl: '/static/rfapp/src/report-table/templates/template_table_editable_td.html'
- };
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement