refactor into separate angular controllers
add ActiveRecord model for Pass.