Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript AngularJS Extending Inputs Connecting a WYSIWYG Editor

Nicolas Hampton
Nicolas Hampton
44,626 Points

Could anyone explain how to handle the formatter and parser arrays?

I see that we push functions onto the parser and formatter arrays and Angular will automatically apply such formatting or parsing. However, hwat happens when we push two or more parsers, or do we ever need to pop a formatter?How do we reference each parser if we only want to use one at a time, with array notation or dot notation? And who let this man teach?

1 Answer

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Nicolas;

I'm not an Angular expert so I will leave your questions for others to answer. On the upside, there will be a new Angular.js course Angular Basics in October.

Can't wait for that as I was a bit confused in the current Angular course as well.

Ken

Nicolas Hampton
Nicolas Hampton
44,626 Points

I saw that course coming up as well, and I'm pretty excited. I made it through this class and I'll see if I can't try Angular out in a project, but the complete lack of workspaces made getting through the difficulty of the class almost pointless. Here's to knowing what's going on in a month! Thanks Ken.