rebuilding site with angularjs