27 lines
819 B
JavaScript
27 lines
819 B
JavaScript
"use strict";
|
|
(function () {
|
|
'use strict';
|
|
angular.module('feedModule')
|
|
.directive('activityFeed', [function () {
|
|
return {
|
|
restrict: 'E',
|
|
replace: true,
|
|
templateUrl: 'views/feed/activity-feed.html',
|
|
scope: {
|
|
type: '@',
|
|
itemId: '=',
|
|
parentContext: '=?',
|
|
commentable: '=',
|
|
assetClassId: '=',
|
|
assetObject: '=',
|
|
refresh: '=',
|
|
isFullVersion: '=',
|
|
isDraft: '=',
|
|
isUnflagEditAllowed: '=',
|
|
inputDisabled: '='
|
|
},
|
|
controller: 'ActivityFeedController'
|
|
};
|
|
}]);
|
|
}());
|