more work on routing and environment checking / learning angular. found remotestorage issue with redirect url