Skip to content

It won't work with default "$ctrl" in component view #96

@srokatonie

Description

@srokatonie

I was not declaring controllerAs in my component and using default $ctrl in template. sv-root would be just empty div.

After couple of hours I discovered that you have to use controllerAs: 'something' and use it in your template in order to have this directive working.

Hope that helps someone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions