Skip to content

ui-view inside a directive that does NOT ng-transclude does not work #2033

@angel1st

Description

@angel1st

Hi there,
I am using ui-router (v.0.2.14) and have ui-view nested inside angular-pageslide-directive - https://github.com/dpiccone/ng-pageslide. As you can see from the directive's code - it does NOT transclude (transclude: false).
I am experienced the same issue described here - #774 - as long as I put ui-vew inside the directive, the ui-view becomes empty.
Here is the sample code:

<div class="row">
    <div class="col-lg-3">
        <div ui-view="contacts" class="row"></div>
    </div>
    <div class="col-lg-6">
        <div ui-view="calls" class="row"></div>
    </div>

    <pageslide ps-open="chatOpened">
        <div ui-view="messaging"></div>
    </pageslide>
</div>

here it the ui-views definitions:

"calls@room": {
    templateUrl: 'partials/room-calls.html',
    controller: 'CallsCtrl'
},
"contacts@room": {
    templateUrl: "partials/room-contacts.html",
    controller: 'ContactsCtrl'
},
"messaging@room": {
    templateUrl: "partials/room-messaging.html",
    controller: 'MessagingCtrl'
}

any help would be appreciated...
Best Regards,
Angel

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