Refactored our angular controller, took behavior out and put it in base.js