• Robert Knight's avatar
    Fix 'Post to' button not updating when groups changed · 4cafca01
    Robert Knight authored
    The 'group' property on the scope used by the 'Post to' button
    was set when the component was instantiated but not updated
    if the group subsequently changed.
    
    Fix this and simplify the code by using the 'bindToController'
    facility from Angular 1.3.x to avoid copying properties
    from the directive's scope to the controller.
    
    This means that 'vm.group' expressions in the controller now
    update when the corresponding attribute changes.
    4cafca01
publish-annotation-btn.js 929 Bytes