Added a global error handler
Use single expression instead of a function call to show selected tab
Moved all functions related to colors to a separate file
Moved angular.js to js directory