addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

AngularJS $provide Methods - How do they work?

(With a working focus on creating a Google API service for your Angular application.)

Constants, decorators, factories, providers, services, values, oh my. There are many ways to get a service into your Angular applications. But, what are the differences between them?

At our November meetup, googler Wesley Alvaro presents a tutorial that starts with a quick lesson in the various methods. We'll see how each differs and how each are the same. You'll learn which one you should use for a particular purpose (and even how to can convert between some of them). Since this might result in more questions than you started with, we'll apply what we've learned in a real world service, a Google APIs client. There will be plenty of code to go around as we build a simple base client and then start accessing our Google Drive documents with OAuth! Don't worry, for all the heavy lifting we'll be utilizing the JavaScript library provided by Google. For our purposes, we'll just be making it AngularJS-friendly.

Agenda:

6:00pm - Door opens, Food, Drinks and Socializing

6:15pm - Quick Intro to AngularJS for Newcomers (TBC)

6:25pm - More Food, Drinks and Socializing

6:45pm - AngularJS $provide Methods - How do they work? - Wesley Alvaro

7:30pm - Guest speaker: Greg Weber (topic TBC)

7:45pm - Q&A, office hours and socializing

~8:45pm - The end

 

Join or login to comment.

  • A former member
    A former member

    What a great meetup! I enjoyed talking with others afterwards and learned about some different patterns for dealing with complexity. Here are the slides from my talk:
    https://docs.google.com/presentation/d/1FRkzxuBrP9gTwkdXT22ke7J-zMwxUSRbfrbHTO_qRRM/edit

    I just put my statechart library up on github:
    https://github.com/yaptv/StateTree

    November 15, 2012

  • Sean G.

    The slides for the first presentation are here:
    http://slides.wesalvaro.com/20121113/

    1 · November 14, 2012

    • A former member
      A former member

      thanks

      November 14, 2012

  • A former member
    A former member

    Excellent presentation that really cleared up some issues I've been struggling with. Also(for example?) I finally know the difference between a factory and a service.
    And the working example given was a fantastic demonstration of $q.

    November 14, 2012

  • A former member
    A former member

    Any chance I could get a link to the slides from yesterday?

    November 14, 2012

  • A former member
    A former member

    Advanced topic so hard to comment

    November 14, 2012

  • Dan D.

    I'm going to be critical about this meetup, but it is more of a general commentary (about meetups). This is not easy to do realizing that most of the time its a volunteer effort. There were incongruous parts a "beginners guide" and then heavy lifting $providers. Its possible that the 2nd topic may have scared some of the beginners. I say this because I've been using angular for quite a while and (maybe its me) I was a bit overwhelmed. Also, one peeve is that after sitting all day at a computer, you kinda want to not do this(look at your computer - if you brought one) and focus on the presentation. The problem is that either the monitors were having problems or the presentation wasn't monitor friendly. I found myself distracted trying to grok what was on the screen thus making it problematic to really soak in the info. I also want to say "less is more" meaning, samples shd be big enuff to provide context but small enough to be able to wrap one's head around. I still am big NG fan

    November 14, 2012

  • Thomas B.

    I assume the time specified above for the US Pacific timezone?

    November 13, 2012

  • Y.H. C.

    Do we have recorder, I missed it,...
    Thanks,

    November 12, 2012

    • Naomi B.

      The meetup is tonight. :) We'll be recording as well -- check out youtube.com/angularjs to find our videos.

      November 13, 2012

    • Spondon S.

      Awesome! Today is Diwali as well, so I'll not be able to make it, the recording will be very valuable.

      November 13, 2012

  • Spondon S.

    Any news in which building we're having the talk?

    October 23, 2012

    • Spondon S.

      Sorry, mixed it up another meetup! Didn't mean to hurry u guys!

      October 23, 2012

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