Finally made dynamic page switching

using angular to switch pages.