Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

angular-localization does not work with Angular 1.6.2 #110

Open
peter-martinez-62 opened this issue Feb 28, 2017 · 4 comments
Open

angular-localization does not work with Angular 1.6.2 #110

peter-martinez-62 opened this issue Feb 28, 2017 · 4 comments

Comments

@peter-martinez-62
Copy link

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)

@andrewsmalek
Copy link

andrewsmalek commented Mar 1, 2017

you just need to use the latest Angular-Localization v1.6 which supports the new .then() instead of .success()
you may now download it from here until it got released officially : https://drive.google.com/file/d/0B6ppbyCzTs4tOUpPSUhWYTZTVmc/view?usp=sharing

@SDries
Copy link

SDries commented Mar 27, 2017

@andrewsaad, your link doesn't work for me.
Do you have an alternative source?
Do you have an idea when angular-localization will support 1.6?

Thank you

@andrewsmalek
Copy link

Angular-localization do support angular V1.6, but only the source code has the updates, not the distributed one yet, however.. I've updated the url for v1.6, it's working now.

@Carnid
Copy link

Carnid commented May 10, 2017

I have made a fork here
It incorporates the latest changes to work with 1.6. It also adds a feature for nested json language files.
You can install it via bower using bower install angular-localization-spiria --save
Let me know if there are any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants