Giter VIP home page Giter VIP logo

Comments (8)

ajoslin avatar ajoslin commented on May 18, 2024

It might be possible actually - I'll look into it and get back to you.

It would be something more like:

promiseTracker.trackNgResource(Project);

And you might have to list methods to track:

promiseTracker.trackNgResource(Project, ['get', 'update', 'remove', 'save']);

from angular-promise-tracker.

artworkad avatar artworkad commented on May 18, 2024

What do you mean with "Project"?

from angular-promise-tracker.

ajoslin avatar ajoslin commented on May 18, 2024

Project is the Project from your example.

var Project = new $resource('http://myapi.com/projects')

from angular-promise-tracker.

artworkad avatar artworkad commented on May 18, 2024

Great looking forward to it. Now everytime I make an api call I have to set the tracker on each call.
This feature would definitively keep project code clean.

from angular-promise-tracker.

michaelhunziker avatar michaelhunziker commented on May 18, 2024

Hi all!

Any news on this one ?

I'm looking forward to this feature too.

from angular-promise-tracker.

kafeltz avatar kafeltz commented on May 18, 2024

Indeed, this feature would be nice for some specific projects I work.

I vote for this!

from angular-promise-tracker.

ajoslin avatar ajoslin commented on May 18, 2024

Could someone open a PR? :-)

On Wednesday, August 7, 2013, Robert wrote:

+1

2013/8/7 Ismael Santos Kafeltz <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>>

Indeed, this feature would be nice for some specific projects I work.

I vote for this!


Reply to this email directly or view it on GitHub<
https://github.com/ajoslin/angular-promise-tracker/issues/19#issuecomment-22253609>

.

RM.


Reply to this email directly or view it on GitHubhttps://github.com//issues/19#issuecomment-22256286
.

...sent from my iPhone

from angular-promise-tracker.

ajoslin avatar ajoslin commented on May 18, 2024

Closing for now, doesn't seem super necessary.

from angular-promise-tracker.

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.