insertBefore may fail using the AngularWay #91