Building a Single-Page Application (SPA) with AngularJS  and Bootstrap CSS to consume a REST API based on {z}restapi and token authentication