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.

Nested “E” directives - Multiple directives […] asking for new/isolated scope #5428

@tonylampada

Description

@tonylampada
app.directive('lw', function(){
    return {
        restrict: 'E',
        replace: true,
        scope: {
            items: "="
        },
        template: '<div><listie items="items"></listie></div>',
        //template: '<listie items="items"></listie>', bug?
        controller: function($scope) {
        }
    }
});

The commented template code doesn't work as expected. Shoud it?

Here's a related question on stackoverflow and fiddles 1 and 2

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