angular js router, fridge functionality