I think this scenario is quite common:
* your app/directive just does not work
* there is no diagnostic output whatsoever

After a while you memorize the typical programmer errors (e.g. you tried to 
use a directive name in camel case in html).

But especially for beginners with AngularJS it is a frustrating experience.
(We are just moving more developer to AngularJS work.)

Another example:
Define a directive, use "bindToController", forget the to add the "scope" 
attribute, too.
=> Directive does not work. No warning message, no nothing.

I would propose to have diagnostic messages in the unminified AngularJS 
version.
Those could be stripped away by the minifier.
I am sure there are a lot more scenarios that would warrant at least 
logging a warning message to the console.

What do you think? 
Is there any such mechanism already in place (strip debug code while 
minifying)?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to