Skip to content

Make ui-view retain inner content as "no view" template #142

Closed
@adambabik

Description

@adambabik

Hi,

I've been testing $stateProvider as it's really great replacement for crippled $routeProvider and found interesting behaviour. When the element with ui-view directive is not empty, the first load of the template doesn't replace its content, but works like append. However, the next load replace the whole content of this element.

You can check a live demo here.

Important: This problem occurs only using AngularJS in version 1.1.4. The current stable version works as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions