integrated angularjs for SPA