addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrosseditemptyheartexportfacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

AngularJS Meetup in London

  • Jan 16, 2013 · 7:00 PM
  • This location is shown only to members

Peter Bacon Darwin will be presenting at this meetup.

Pete Bacon Darwin will be talking about Writing and Testing AngularJS Directives. After an initial presentation, we will break out into groups to try coding some directives of our own, so please bring your laptops and ideas.

Pete is regularly found answering questions on the mailing list, he is a contributor to AngularJS and AngularUI projects. He is one of only two community members who have been given commit rights to the core GitHub project and is currently writing a book on AngularJS.

Join or login to comment.

  • Maciek

    Well done Pete, demo was really interesting. We spent ages on working out things on our own, it was great to verify our knowledge against yours!

    January 22, 2013

  • A former member
    A former member

    I'd venture a suggestion for the next meetup while it's fresh on my mind: to discuss good services architecture and separation of concerns between controllers and services. For less experienced folks, just moving beyond $resource for REST requests is pretty relevant. Recommended architecture isn't that well-documented and when I started working on angular it was a struggle to decide how to architect services and modules. And you usually need those working before you get to the cooler stuff. I'd also like to understand directive transclusion better but I don't know how many folks are trying to use it or should be.

    January 17, 2013

  • David H.

    Really enjoyed this session. Pete seems like a very relaxed and knowledgeable guy and fielded a good range of questions. My only real critique is that Pete had too much content for one session. I feel this could have been broken into 3 sessions almost. Also I live quite far outside town and by 9.30 the topic I came for "testing directives" hadn't even been mentioned. So I had to leave which is a real shame. Thanks to Google for the food and look forward to the next meet.

    1 · January 17, 2013

    • A former member
      A former member

      Once again, thanks Peter.
      I had a quick chat on the way out about the mysterious preLink step, which I'm drilling down into now...
      Quick grep shows 2 refs in angular.js repo - form and ngInit, although it's still mysterious as to why they wouldn't be interchangeable with postLink.

      Anyhow, I thought I might ask for some advice - I'm wanting to get deeply involved with the community, is there a best OSS project to get involved with at the moment? (something meaty is good)

      January 17, 2013

    • Peter Bacon D.

      OK! Good catch. The ng-init wants to setup the scope before any child elements link functions are run. So this does need a pre.

      Not so sure about the form directive. Possibly, it is a throw back from before directive controllers were available?

      January 17, 2013

  • Richard T.

    This is what I have been looking for for 3 months. There is so much outdated documentation and this talk - excellently delivered to exactly the right level was invaluable - shame this wasn't available when I started but it moved me in bounds from where I am at the moment.

    BIG BIG thanks to Peter - ((and Josh))/google

    If the future continues at this level and we can dive and discuss as we did the the future look bright.

    I am a much happier (baby) Angularian

    Peter - as per other comments would be nice if we could redo what we missed (transclusion next .... :) )

    January 17, 2013

    • A former member
      A former member

      There are some great AngularJS videos. I didn't find them for ages, but they are very useful. For example, this one on directives https://www.youtube.co...­

      January 17, 2013

  • Chris W.

    Unfortunately I couldn't make it at the last minute and I was wondering if there was a video recording of the presentation.

    January 17, 2013

  • Adam

    I'm glad I attended! That was my first Angular JS meetup and I found that the level of the talk was just right. It was ahead of where I am with Angular right now but some of it will stick! I'd like to continue where we left off next time.... I would also appreciate finishing slightly earlier. Thanks Pete.

    January 17, 2013

  • A former member
    A former member

    Peter did a great job at explaining the internal plumbing needed for directives. I was expecting a bit more on Testing, but the unit tests in the code provided should be enough

    January 17, 2013

  • A former member
    A former member

    Good clear explanations of some tricky bits.

    January 17, 2013

  • Sam L.

    Facilities and arrangements good as usual, but specifically great content and delivery by Pete on directives this time also. Great job of imparting understanding of the intent and mechanisms of directives - and therefore why they are structured as they are and how to do more difficult stuff with them.

    January 17, 2013

  • A former member
    A former member

    great in-depth explanation of directives

    January 17, 2013

  • Patrick T.

    First and much appreciated Angularjs meetup. See you next one.

    January 17, 2013

  • Daniel P.

    A really fantastic explanation on directives. Peter was a fantastic teacher!

    January 16, 2013

  • Shaun D.

    Excellent meetup, will certainly be attending regularly.

    January 16, 2013

  • Maurycy G.

    That was a great meetup, Pete were well organised and explained directives in way that there was not much place for questions. Looking forward to next meetup and Pete work in Angular UI

    January 16, 2013

  • A former member
    A former member

    Great meetup. Looking forward to the next one !

    January 16, 2013

  • gordon s.

    Really enjoyed this meetup. Pete did an excellent job of covering directives, with some useful examples on GitHub to examine further and learn from.

    1 · January 16, 2013

  • Mark S.

    Great! Very interesting and useful. Thank you :)

    January 16, 2013

  • Chi-Lang N.

    Awesome!

    January 16, 2013

  • Paul B.

    What time do "doors open" tonight? Was planning on grabbing food in the cafe at Campus but notice they close at 6 which leaves a bit if a gap. :/

    January 16, 2013

    • Peter Bacon D.

      Officially the start is 7pm but I might be a bit late so don't expect slides till 7.15pm or 7.30pm after the mandatory mingling and kicking of heels.

      January 16, 2013

    • Josh M.

      There will be food available at the meetup thanks to our sponsors - Google! As Pete says the first half hour or so will give you a chance to eat and mingle. Looking forward to seeing you later.

      January 16, 2013

  • Chris R.

    How about an input directive which fixes the 'infamous' browser autofill bug on forms...

    January 16, 2013

  • Peter Bacon D.

    I don't like to have any thunder so here is a link to my slides and samples for tomorrow's MeetUp. Also there are far too many slides to get through in the time so I expect to miss out or skip through quite a few.

    Feel free to take a look if you want a preview.

    https://github.com/petebacondarwin/AngularJS-Directives-Presentation

    1 · January 15, 2013

  • A former member
    A former member

    I am looking into using AngularJS for a Solr based application. Everything from searching, category faceting, updating the indexed data to be done using Angular

    January 11, 2013

  • Peter Bacon D.

    Looking forward to seeing you all in the New Year. I am thinking of doing a brief talk on writing (and testing) directives then having a break out to see if we can develop some kind of directive ourselves. We could take requests on the night but it would be good to have some ideas before. Perhaps you have a need for a directive in your own project and can't quite get it to work yet? Post your ideas here.

    3 · December 28, 2012

    • Peter Bacon D.

      Hi Arush,

      This is an important design pattern but not really a directive. Or more specifically, it would be implemented with a range of directives and probably routes, ng-view and a smattering of ng-includes.

      I was hoping for a simple, useful directive that everyone at the MeetUp can have a go at building in the short time available, i.e. 30-60mins.

      Pete

      January 7, 2013

    • Arush S.

      So thats why it was so hard! Good to know its not just me being stupid ;)

      January 9, 2013

  • Etty S.

    I would like to incorporate the net eye activity indicator plug-in in my app, would be could to see that covered.

    January 7, 2013

    • Peter Bacon D.

      This could be good. We could consider both wrapping it and trying to write it in pure angular... It would be interesting to compare LOCs in both cases.

      There would be opportunities to talk about isolated scope but doesn't require transclusion.

      Here is their demo page for those interested: http://neteye.github....­

      January 7, 2013

    • Arush S.

      ooooh nice idea

      January 9, 2013

  • A former member
    A former member

    I'd love to see a set of directives to cover the ideas in Bret Victor's Kill Math essays (http://worrydream.com/KillMath). Out of the box, angular is already close. Some starter code here http://worrydream.com/Tangle/.

    December 30, 2012

    • Peter Bacon D.

      Hi Mike
      I guess what you are looking for is to implement editable elements, such as the draggable TKAdjustableNumber? This is very doable and once done the rest of the Tangle idea is pretty much there already!

      January 6, 2013

Our Sponsors

  • Google

    Funds AngularJS development.

  • AngularConnect

    The Official European Angular Conference 2016 - 27 & 28 September 2016

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy