Coder Social home page Coder Social logo

Comments (9)

ArthurianX avatar ArthurianX commented on May 17, 2024

thanks!

from angular-meteor.

rjsmith avatar rjsmith commented on May 17, 2024

Hi,
Take a look in the smart.json file in the root folder of angular-meteor. It imports the angularJS library using bower (via the meteor-bower meteor package). At the time of writing, master is using angular 1.2.26
If you want to experiment with a 1.3.x version, you should just be able to update smart.json and see what happens ( I would also be interested in what u find out!)

from angular-meteor.

Urigo avatar Urigo commented on May 17, 2024

@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.
That way you won't need to change the package itself.

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.

from angular-meteor.

ArthurianX avatar ArthurianX commented on May 17, 2024

Thanks very much!

I'll try to fiddle with it this weekend. I'll come back with an result.

from angular-meteor.

Urigo avatar Urigo commented on May 17, 2024

@ArthurianX Interested in hearing about your results!

from angular-meteor.

ArthurianX avatar ArthurianX commented on May 17, 2024

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 :)

from angular-meteor.

wuxianliang avatar wuxianliang commented on May 17, 2024

there is a fork for 1.3 https://github.com/saleswise/angular-meteor/

from angular-meteor.

Urigo avatar Urigo commented on May 17, 2024

There is also a pull request here:
#41

I'm waiting for a bit of testing and I will merge it

from angular-meteor.

Urigo avatar Urigo commented on May 17, 2024

Merged and now we support AngularJS 1.3.1
Here is the release:
https://github.com/Urigo/angular-meteor/releases/tag/0.5.2

from angular-meteor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.