Updated angularjs package.
Small refactorings.
Implemented windows authentication.