Work in progress: example of modal using separate template + controller file, plus use of $resource for REST requests.  Currently at point where a "create group" modal actually creates a group.