don't need controller directly in view
move members into factory
factory can now get AJAX response