fix($controller): throw better error when controller expression is bad
Previously, the error was a JS runtime error when trying to access a property of `null`. But, it's a bit nicer to throw a real error and provide a description of how to fix it. Developer ergonomics and all that. Closes #10875 Closes #10910
C
Caitlin Potter committed
dda65e992b72044c0fa0c8f5f33184028c0e3ad7
Parent: aa0f644