Skip to content

Commit

Permalink
Bit less awkward and condescending introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
samstokes committed Apr 16, 2014
1 parent 66d00d3 commit 4e3f68a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/_posts/2014-03-10-grouping-items-in-angular-dot-js.markdown
Expand Up @@ -36,9 +36,18 @@ categories:
<figcaption>Tasks grouped by day</figcaption>
</figure>

I'm building a task tracker app in [Angular.js](http://angularjs.org), and I
wanted to group some tasks by the day they were completed - so if you finished
several tasks on Feb 28th, they'd all show up under that date.
I've released a `groupBy` filter for [Angular.js](http://angularjs.org), for
building features like the one on the right. You can find it [on Github](
https://github.com/samstokes/TODO
). The rest of this post explains why that's worth blogging about!


Motivation
----------

I'm building a task tracker app in Angular.js, and I wanted to group some tasks
by the day they were completed - so if you finished several tasks on Feb 28th,
they'd all show up under that date.

After a few frustrated attempts, I turned to Google. I quickly discovered that
[grouping](http://www.bennadel.com/blog/2456-Grouping-Nested-ngRepeat-Lists-In-AngularJS.htm)
Expand All @@ -56,15 +65,6 @@ code, determined to find out why this apparently simple task was so hard.



tl;dr
-----

For the impatient: I've released a `groupBy` filter for Angular. You can find
it [on Github](https://github.com/samstokes/TODO).

If you believe that the journey is more important than the destination, read on.


First attempts
--------------

Expand Down

0 comments on commit 4e3f68a

Please sign in to comment.