add angularfire
improve randomPositions