code is using promise.success() instead of promise..then() here is the error: TypeError: c.get(...).success is not a function at p (http://localhost:9002/bower_components/angular-localization/angular-localization.min.js:8:1270) at q (http://localhost:9002/bower_components/angular-localization/angular-localization.min.js:8:1637) at http://localhost:9002/bower_components/angular-localization/angular-localization.min.js:8:1872 at Array.forEach (native) at Object.r [as ready] (http://localhost:9002/bower_components/angular-localization/angular-localization.min.js:8:1845)