angularjs and included requireJs

moved away from route provider and went with state provider (ui-router)
https://github.com/angular-ui/ui-router, as I feel, after reading up on
it, it is a bit more functional.

new approach to the frontend.

index.html

js
--- boot.js //this loads all the js files with requirejs and head js
--- main.js // this bootsraps angular
--- RouteManager.js // manages all the url routes with ui-router
--- CockpitApi.js // were doing the http Post and requests
--- authentication // this folder contains login/session controllers
and session services, init module
------ AuthenticateModule.js
------ Authenticator.js
------ LoginController.js
------ Session.js
------ SessionController.js
--- dashboard // this folder contains controller and init module
------ DashboardModule.js
------ DashboardController.js

vendor // this folder contains angularjs, jquery etc

views // template files and includes

assets // this folder contains css, bootstrap scss, images, jquery
plugins that i have used and potentially use for further development.