using ui-bootstrap instead of bootstrap js
added a modal service that can be used for different messages. The interceptor will display error messages unless a $http request says otherwise.