Check dependencies and fix angularjs version to angular-cookies and fix
angular-ui compatibility