Skip to content

InsertBefore breaking data binding, undefined parentNode #657

Closed
@Billiam

Description

@Billiam

I'm trying to solve an odd problem, and thought I could work around it by manually adding some items to a directive's element:
http://jsbin.com/quxusu/2/edit?html,js,output

Which causes this error in a replace method:

 Uncaught TypeError: Cannot read property 'parentNode' of undefined

Is this a bug, or expected behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions