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
Description
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.