feat($controller): throw when requested controller is not registered
Previously, it would throw the ng:areq error, which is less specific and just informs that the requested controller is not defined. Given how commonly controllers are used in Angular, it makes sense to have a specific error. The ng:areq error is still thrown when the registered controller is not a function. Closes #14980 PR (#15015)
M
Martin Staffa committed
eacfe4148eb97e550117ed7fd3c37b58537a9f64
Parent: 6304cde
Committed by GitHub <noreply@github.com>
on 8/12/2016, 5:12:12 PM