karma-exchange-org/karma-exchange — pull request #288 by avaliani (2013-12-12 13:01:18+00:00)
Title: Use a promise to access $rootScope.me

- use a promise to access $rootScope.me. Avoids redundant fetches of me. And cleans up me update handling..
- optimization - we can check if the user is an organizer of an organization by looking at the me object. No query is required.
- bug: ui was incorrectly displaying users as organizers even though they were not
organizers. The organizers json api was not being used correctly.
Json api for orgs a user belongs to has also been updated.
- bug: bootstrap test memberships were semi-bogus. Made them more accurate.