convert individual page to angularjs