-
Notifications
You must be signed in to change notification settings - Fork 624
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
Can I use angular-meteor with a newer version of Angular ? #33
Comments
thanks! |
Hi, |
@ArthurianX you can also do that by adding the smart.json to your own project and then use https://github.com/mquandalle/meteor-bower to install what version that you want. I hope that soon a better package of bower support will come out with better support for dependencies and then instead of deciding for you about the version and installing it, angular-meteor will just specify the minimum dependency. |
Thanks very much! I'll try to fiddle with it this weekend. I'll come back with an result. |
@ArthurianX Interested in hearing about your results! |
Honestly I did not had time to do that yet, but I read a bit and I think the best way would be to use $interpolate (url:https://docs.angularjs.org/api/ng/service/$interpolate) in the config stages on the bootstrapping of Angular, before the template parsing, and thus using the angular library, whichever version as an external library. This is not the solution for this module, but is a solution for curly braces vs square braces. Now, for the rest of it, a good angular developer with some Meteor knowledge will know not to start using $http or Restangular to get data, but rely on Meteor's magic and simply use angular to do frontend stuff and whenever there is a change pass it to Meteor's collections methods. And I think it's pretty easy to wrap promises around the meteor responses if you want to decouple meteor's tools for rendering content from the equation, and use it mostly as a super awesome communication gateway, plus the other features which I still have to delve in to :). Been doing a lot of reading on Meteor though, and I'm trying my hand at a simple app. Of course, using Angular with reactive templating and stuff like that from meteor will give a few headaches. This is a simple options, quick and dirty, now for this package, I read the tutorial, it's a fairly complex merge between Angular and Meteor, and truly, reading about what meteor can do, and the roadmap for Angular 2.0 have turned me a bit off, I mean, I'd rather use meteor features where they behave best and integrating Angular so deep inside the Meteor workflow has lost it's charm on me, personally. This comment is heavily opinionated, take it with the properly amount of salt :) |
there is a fork for 1.3 https://github.com/saleswise/angular-meteor/ |
There is also a pull request here: I'm waiting for a bit of testing and I will merge it |
Merged and now we support AngularJS 1.3.1 |
I saw that in this module the angular version preset is 1.0.2, that's > year old, angular is thousand times better now, can I easily integrate it with angular-meteor? Not easily, where would I need to start ?
FYI: I'm a meteor beginner.
The text was updated successfully, but these errors were encountered: