AngularJS
32 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by Rimbaud Van Eetvelde from JavaScript for Line of Business Applications
Scoop.it!

Enhancing AngularJS $log using Decorators

Enhancing AngularJS $log using Decorators | AngularJS | Scoop.it

AngularJS has a great hidden feature $provider.decorator() that allows developers to intercept services and substitute, monitor, or modify features of those intercepted services. This features is not deliberately hidden… rather it is masked by so many other great AngularJS features.

AngularJS has a built-in service $log that is very useful for logging debug and error messages to a console. Using this injected service, developers can easily monitor application workflows, confirm call sequences, etc. And since it is such a common useful mechanism, developers often complain about wanting more features.


Via Jan Hesse
more...
No comment yet.
Rescooped by Rimbaud Van Eetvelde from JavaScript for Line of Business Applications
Scoop.it!

On the Bleeding Edge: Advanced AngularJS Form Validation

On the Bleeding Edge: Advanced AngularJS Form Validation | AngularJS | Scoop.it

We’ve been using AngularJS for the past few months and in general it has been really great. There has definitely been a learning curve, but the best part of the design is that it really encourages you to extend it properly. Whenever you try to hack something, it just feels wrong and you are forced to look at your problem from a different perspective. The benefit is the resulting solution is usually much more modular and portable.


Via Jan Hesse
Rimbaud Van Eetvelde's insight:

Just what you need :)

more...
No comment yet.