Hacker News new | ask | show | jobs
by ErikAugust 4696 days ago
Good breakdown of some of the useful built-in directives as well as an easy-to-understand guide to creating a directive.

Top commenter is definitely right that Angular's own docs create a cottage industry for bloggers and others willing to bang their heads against stuff until they figure it out.

Just started an Angular directive that allows for reusable Flot charts: https://github.com/ErikAugust/flang

I'll be adding the barChart directive as well as adding dynamic option setting in the next day or two.

1 comments

There's something about those docs that seem to inspire blunt skull trauma analogies. Me the other day, for example: https://news.ycombinator.com/item?id=6140406