SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

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
9ae793d8a69afe84370b601e07fc375fc18a576a
Parent: 7fa2fdb
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 11/24/2016, 9:37:52 AM