Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ng-switch should allow non ng-when children #1074

Closed
@vojtajina

Description

@vojtajina
    <tr ng-switch on="foo">
        <th>first</th>
        <th ng-switch-when="1">one</th>
        <th ng-switch-when="1">two</th>
        <th ng-switch-when="2">three</th>
        <th>last</th>
    </tr>

Currently ng-switch does just append(), so the dynamically added elements are inserted after the static ones (first, last).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions