• Nick Stenning's avatar
    Consolidate session service and session helpers · ed44cb77
    Nick Stenning authored
    This commit does three things. In order of importance:
    
    - wraps the ngResource for managing session state in a service, which
      allows us to expose current session state as `session.state` on that
      instance. This means that components of the application that don't
      want to alter or explicitly fetch session state, but wish to display
      some part of it (such as the current authenticated userid, etc.) can
      do so more easily.
    - moves configuration of the session resources into the session service
      rather than requiring configuration from outside via a
      sessionProvider.
    - translates the session service to JavaScript from CoffeeScript.
    ed44cb77
Name
Last commit
Last update
..
accounts.js Loading commit data...