Year of Moo
yearofmoo.com · Personal blog · on HN since 2011
Matias Niemelä writes AngularJS tutorials on animation, testing with Karma, SEO, and building web apps.
What HN saysHN commenters call the articles excellent starting resources for AngularJS. One critic says some testing posts are too trivial for real applications.
18HN people shared it
9linked it in comments
26stories submitted
61story points
11 years agolast shared
2011people per year2026
Most-shared posts
- 1AngularJS and SEO4 people · 5 points · first shared 2012 · 1 comments on HN
- 2More AngularJS Magic to Supercharge your Webapp4 people · 4 points · first shared 2012 · discussion on HN
- 3Remastered Animation in AngularJS 1.23 people · 6 points · first shared 2013 · discussion on HN
- 4Full-Spectrum Testing with AngularJS and Karma3 people · 2 points · first shared 2013 · discussion on HN
- 5AngularJS v1.1.4 includes animation support2 people · 7 points · first shared 2013 · discussion on HN
- 6Enhanced Animation in AngularJS - yearofmoo.com2 people · 5 points · first shared 2013 · discussion on HN
- 7Advanced Testing and Debugging in AngularJS2 people · 2 points · first shared 2013 · discussion on HN
- 8Custom Cross-Browser CSS Properties2 people · 2 points · first shared 2015 · discussion on HN
- 9Full Spectrum Testing with AngularJS and Testacular1 people · 8 points · first shared 2013 · discussion on HN
- 10Taming Forms in AngularJS 1.31 people · 4 points · first shared 2014 · discussion on HN
- 11Use AngularJS to power your web application1 people · 3 points · first shared 2012 · discussion on HN
- 12Use Git-Concat to concatenate multiple files together each time you commit1 people · 2 points · first shared 2012 · discussion on HN
- 13Darkmate Color Scheme for Vim1 people · 2 points · first shared 2012 · discussion on HN
- 14How to use ngMessages in AngularJS – yearofmoo.com1 people · 2 points · first shared 2014 · discussion on HN
- 15New Yearofmoo Website1 people · 2 points · first shared 2012 · discussion on HN
What HN people wrote when they linked it
nickpresta · 2013-10-16
Just to add, http://www.yearofmoo.com/2013/09/advanced-testing-and-debugging-in-ang…
A great article in a series of AngularJS articles, written by Matias Niemelä.
sheldor · 2013-09-02
I found these to be excellent resources when I started with angular almost a year ago.
http://www.yearofmoo.com/2012/08/use-angularjs-to-power-your-web-appli…
http://www.yearofmoo.com/2012/10/more-angularjs-magic-to-supercharge-y…
mackwic · 2013-08-03
The problem with this kind of article is they are too trivial to be truly original and don't help testing a real application, even a light one. Who want to test his evening project ?
Worst, it's by far too light on karma and E2E testing. They have a lot of pitfalls, traps, and documentation is nearly inexistent. A shame considering the size of these projects.
I upvoted, though, because I want more discussion on that topic.
For anyone who want further links about Unit-testing on Angular, I recommend the series from Benjamin Lesh on testing controllers[1], services[2], and directives[3].
This article[4] from The Year of Moo is also excellent and introduces the limit of End-to-end testing with a solution.
[1]: http://www.benlesh.com/2013/05/angularjs-unit-testing-controllers.html
[2]: http://www.benlesh.com/2013/06/angular-js-unit-testing-services.html
[3]: http://www.benlesh.com/2013/06/angular-js-unit-testing-directives.html
[4]: http://www.yearofmoo.com/2013/01/full-spectrum-testing-with-angularjs-…
I'll be highly interested if someone has anything consistent about Karma and Angular-scenario. I didn't find anything satisfactory about setup anything bigger than 200 LoC. For what I saw, people run away from Angular-scenario and inject Jasmine and Mocks as a work-around.
sveme · 2014-12-05
Google crawlers execute Javascript [1] since this year. Before that you apparently had to deliver a pre-rendered page to the crawler. I don't know anything about the lyft stack, but there are solutions for SEO with Single-Page Apps (see e.g. [2]).
[1]: http://googlewebmastercentral.blogspot.no/2014/05/understanding-web-pa…
[2]: http://www.yearofmoo.com/2012/11/angularjs-and-seo.html
jjsz · 2013-09-05
There's also: yearofmoo [0], the AngularJSLearning Index [1], David Mosher [2], tutorialzine [3], and the ng-newsletter. [4] I would like to see the Integration With Other Languages/Frameworks section expanded (D3, PouchDB, etc). Are you guys planning on expanding on that?
[0] http://www.yearofmoo.com/
[1]https://github.com/jmcunningham/AngularJS-Learning,
[2] http://www.youtube.com/user/vidjadavemo/videos
[3] http://tutorialzine.com/2013/08/learn-angularjs-5-examples/
[4] http://www.ng-newsletter.com/posts/beginner2expert-how_to_start.html
randall · 2013-08-18
Angular 1.2 supports animations between ng-views, which would mean you wouldn't have to build very much.
http://www.yearofmoo.com/2013/08/remastered-animation-in-angularjs-1-2…
zenocon · 2013-08-16
Angular enables testability by design. This is one of the better written tutorials on how to approach it:
http://www.yearofmoo.com/2013/01/full-spectrum-testing-with-angularjs-…
davej · 2013-04-19
Angular uses DOM templating instead of string-based templating (most current JS templating engines are string-based), so you would definitely need to fire up a headless browser (PhantomJS) or DOM (JSDOM) of some sort to get it working.
It would be very slow if you were doing this dynamically so you would probably want to regularly compile and cache your pages.
Some links on this topic:
https://github.com/steeve/angular-seo
http://www.yearofmoo.com/2012/11/angularjs-and-seo.html
mmq · 2013-02-12
Some links I found helpful while trying to make a sudoku game with angularjs (https://github.com/mouradmourafiq/angular_sudoku):
http://deansofer.com/posts/view/14/AngularJs-Tips-and-Tricks-UPDATED
http://www.yearofmoo.com/2012/10/more-angularjs-magic-to-supercharge-y…
http://blog.petermolgaard.com/tag/angularjs/
http://onehungrymind.com/angularjs-sticky-notes-pt-1-architecture/
http://www.raymondcamden.com/index.cfm/2011/11/29/My-first-AngularJS-a…
A google discussions about the difference between factory and service:
https://groups.google.com/forum/?fromgroups=#!searchin/angular/service…