newscoop/JS-Scoopwriter

View on GitHub
app/scripts/directives/editorial-comment.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

angular.module('authoringEnvironmentApp').directive('editorialComment',
    function () {
        return {
            templateUrl: 'views/editorial-comment.html',
            restrict: 'E',
            scope: {
                model: '=',
                allowreplying: '=',
                onSave: '&saveComment',
                onReply: '&sendReply',
                onResolve: '&resolve'
            },
            link: function postLink(scope, element, attrs) {
            }
        };
    }
);