News for hackers. Stuff that matters.
Re:AngularJS Learning Resources by davemo on Friday June 07, 2013 @11:43AM (#5839553)
I've been working on a screencast series that should get you up to speed on AngularJS pretty quickly; I've got 3 parts so far:

* Part 1: Intro to Angular JS (50 minutes) [1]

* Part 2: End to End with Angular JS (52 minutes) [2]

* Part 3: Security with Angular JS (30 minutes) [3]

[1] - http://www.youtube.com/watch?v=8ILQOFAgaXE

[2] - http://www.youtube.com/watch?v=hqAyiqUs93c

[3] - http://www.youtube.com/watch?v=18ifoT-Id54

Re:AngularJS Learning Resources by thejosh on Saturday June 08, 2013 @05:14AM (#5844396)
Great tutorial, I finally understand how Angular fits together.

I've been meaning to look further into AngularJS, and it looks like this is the weekend to do it.

Re:AngularJS Learning Resources by throwaway1979 on Friday June 07, 2013 @12:06PM (#5839707)
End-to-end sounds interesting! Thanks for creating this. I'll watch these tonight!

I've been playing with Angular for a lil bit. The things that frustrate me as a learner are:

1) Lack of good end-to-end examples.

2) Situations where things just don't work, and give no feedback as to what went wrong. Am I just using Angular JS incorrectly or does this happen to everyone?

Re:AngularJS Learning Resources by taybul on Friday June 07, 2013 @01:02PM (#5840074)
While learning Angular, it pays to really understand how the $scope works, when $watch'es are fired, and when you need to explicitly call an $apply, etc. What are some examples where things just don't work? While I was learning angular, a lot of times I had assumed things were available in scope when they were not. Some built-in directives like ng-repeat will create local copies of scope so I would try to change a variable directly expecting the parent to pick it up but it won't. Now my issues are simply misuse of the APIs. Eventually you will "get" the way angular works and instinctively know how to write with it.
Re:AngularJS Learning Resources by throwaway1979 on Friday June 07, 2013 @02:41PM (#5840802)
Thx for the kind words of encouragement. There is something elegant about angular and I'm going to keep slogging on. I think you're spot on about mechanisms .. I don't grok how angular does its magic and I think that is a big problem for me. Any suggestion on how one goes about learning Angular internals sans looking at the source code?

I used Angular for two hackathons so far and didn't keep track of what didn't work. It was just a matter of ... let me try something a different way ... and poof ... it worked. Not very scientific I'm afraid.

Re:AngularJS Learning Resources by grogs on Friday June 07, 2013 @04:21PM (#5841480)
Install Batarang for debugging scope issues. Don't be afraid of looking at the source, it's a great way to learn. Write some directives and then look at the ones provided by angular - and realise they're not cryptic.
Re:AngularJS Learning Resources by thisone on Friday June 07, 2013 @08:27PM (#5843021)
Re showing when things don't work. That's the best part of the egghead videos; showing things broken.

I forget sometimes how much you learn from doing it wrong before doing it right.

Re:AngularJS Learning Resources by davemo on Friday June 07, 2013 @12:16PM (#5839774)
The end to end video covers building a single page app with angular backed by mysql and laravel 4. It should give you some practical examples to work from, and all the source code for all videos is included on github too.
Re:AngularJS Learning Resources by ebbflowgo on Friday June 07, 2013 @12:12PM (#5839746)
I would watch them if they focused on a single topic and were from 5 - 10 mins
Re:AngularJS Learning Resources by davemo on Friday June 07, 2013 @12:14PM (#5839763)
You would probably like John Lindquists screencasts at http://www.egghead.io then; I took a more comprehensive approach to try and show how all the pieces of angular fit together.
Re:AngularJS Learning Resources by lurchpop on Friday June 07, 2013 @11:56PM (#5843706)
These are the best videos in the list, hands down.
Re:AngularJS Learning Resources by krat0sprakhar on Friday June 07, 2013 @11:53AM (#5839618)
Thanks a lot for sharing this! Is there a way I can subscribe to updates about new episodes?
Re:AngularJS Learning Resources by jeffcunningham on Friday June 07, 2013 @11:52AM (#5839614)
I'll add those later today. Thanks!
Re:AngularJS Learning Resources by davemo on Friday June 07, 2013 @12:13PM (#5839758)
I submitted a PR on github with those and one more link on Authentication with Angular :)
Re:AngularJS Learning Resources by pacomerh on Friday June 07, 2013 @05:34PM (#5842088)
Great tutorial, thorough.