Switch from ng-route to ui-router. Fix image click on map popup.