Shared AngularJS models for buttercoin applications