SPA based on Angular JS