Rebuilding site with angularjs and foundation