moved controller out of config
switching to ui-router, all working