Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 600 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 600 Bytes

angular-point-discussion-thread

Simple discussion thread directive for angular point.

Installation

bower install angular-point-discussion-thread --save

Example for Instantiation in Model Constructor

Optionally add to constructor on model

function Project(obj) {
    var self = this;
    _.extend(self, obj);
    self.discussionThread = discussionThreadFactory.createDiscussionObject(self, 'myDiscussionProperty');
}

Using the Directive

<div ap-discussion-thread 
    data-field-name="'myDiscussionProperty'" 
    data-list-item="project"></div>