fixed rails controller for angular partials