fixed issue on movement of pages to detailed view. used $location reference in the parties and z-my-night controller.