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.

returning anything from a controller breaks controllerAs (1.4 only) #11683

Closed
@purge

Description

@purge

Previously, this was ok but using 1.4-rc.0 the return value causes any bindings in the controller to fail. See https://jsfiddle.net/purge/8vjpgm3h/1/
This is particularly a problem for coffeescript which automatically returns the last statement.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions