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
632b2ddd34c07b3b5a207bd83ca3a5e6e613e63b
Parent: 7caad22