Repository: Cloud-CV/EvalAI
Issue: Error: $injector:modulerr Module Error
Root cause: External Dependency Breakage

Hi 
I am getting this error while try to install Evalai using docker. 
![screenshot from 2018-05-23 11-32-50](https://user-images.githubusercontent.com/12428112/40406132-16bd057a-5e7d-11e8-9692-7ac538c1fb92.png)
![screenshot from 2018-05-23 11-32-25](https://user-images.githubusercontent.com/12428112/40406133-1703c0c8-5e7d-11e8-9f7f-6e6f80382c43.png)

vendor.js:formatted:4207 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.6.10/$injector/modulerr?p0=evalai&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.6.10%2F%24injector%2Fmodulerr%3Fp0%3DngSanitize%26p1%3DTypeError%253A%2520q%2520is%2520not%2520a%2520function%250A%2520%2520%2520%2520at%2520B%2520(http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A880%253A289)%250A%2520%2520%2520%2520at%2520f%2520(http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A880%253A217)%250A%2520%2520%2520%2520at%2520new%2520%253Canonymous%253E%2520(http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A887%253A3)%250A%2520%2520%2520%2520at%2520Object.instantiate%2520(http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A48%253A56)%250A%2520%2520%2520%2520at%2520c%2520(http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A44%253A449)%250A%2520%2520%2520%2520at%2520Object.provider%2520(http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A44%253A391)%250A%2520%2520%2520%2520at%2520d%2520(http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A45%253A333)%250A%2520%2520%2520%2520at%2520http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A45%253A454%250A%2520%2520%2520%2520at%2520q%2520(http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A11%253A7)%250A%2520%2520%2520%2520at%2520g%2520(http%253A%252F%252F127.0.0.1%253A8888%252Fdist%252Fvendors%252Fvendor.js%253A45%253A234)%0A%20%20%20%20at%20http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A10%3A76%0A%20%20%20%20at%20http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A46%3A160%0A%20%20%20%20at%20q%20(http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A11%3A7)%0A%20%20%20%20at%20g%20(http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A45%3A234)%0A%20%20%20%20at%20http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A45%3A418%0A%20%20%20%20at%20q%20(http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A11%3A7)%0A%20%20%20%20at%20g%20(http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A45%3A234)%0A%20%20%20%20at%20gb%20(http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A49%3A352)%0A%20%20%20%20at%20c%20(http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A25%3A57)%0A%20%20%20%20at%20Wc%20(http%3A%2F%2F127.0.0.1%3A8888%2Fdist%2Fvendors%2Fvendor.js%3A25%3A370)

Please suggest some solution.

Thanks!


This is an error for even a vanilla install without docker.

Hi @varunagrawal,
For the temporary fix, please use this `bower.json` file.
The issue is fixed by upgrading the angular to 1.7.0
```{
  "name": "evalai",
  "description": "",
  "main": "index.js",
  "license": "ISC",
  "homepage": "",
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {
    "angular": "^1.7.0",
    "animate.css": "^3.5.2",
    "font-awesome": "^4.7.0",
    "angular-ui-router": "^0.3.1",
    "angular-animate": "^1.5.8",
    "angular-aria": "^1.5.8",
    "angular-messages": "^1.5.8",
    "angular-material": "master",
    "materialize": "^0.97.8",
    "jquery": "^3.1.1",
    "lodash": "^4.17.2",
    "ngSmoothScroll": "master",
    "ng-focus-if": "master",
    "angular-sanitize": "^1.6.1",
    "ng-file-upload": "^12.2.13",
    "AngularJS-Toaster": "angularjs-toaster#^2.1.0",
    "angular-trix": "^1.0.2",
    "angular-moment": "^1.2.0",
    "moment": "^2.21.0",
    "ngclipboard": "^2.0.0"
  }
}
```