Giter Site home page Giter Site logo

Comments (7)

hannahhoward avatar hannahhoward commented on August 20, 2024

Hey looking into this -- one challenge is the Component class you define functions internally as the NG1 Directive's controller. And in fact, required controllers in NG1 aren't injected till the link function :(. I'm still looking into how to work around this but it may require going to some internal NG1 private api's.

from a1atscript.

timkindberg avatar timkindberg commented on August 20, 2024

Yeah we actually had some issue using $element in the class because of
that. The child components were not ready yet.

from a1atscript.

0x-r4bbit avatar 0x-r4bbit commented on August 20, 2024

Quick note: @Parent is obsolete. Parent dependencies are unbound by default. In other words, if we ask for a dependency in a component it simply looks it up in the dependency injector tree until it finds one. @Host is then used to restrict the lookup to the component's host. Not sure if that's something you want to support for isolated scope directives.

from a1atscript.

timkindberg avatar timkindberg commented on August 20, 2024

@PascalPrecht we are looking into some of these other things over at the new ng-forward project. https://github.com/ngUpgraders/ng-forward

from a1atscript.

0x-r4bbit avatar 0x-r4bbit commented on August 20, 2024

So this repo here is deprecated?

from a1atscript.

timkindberg avatar timkindberg commented on August 20, 2024

No. The other one is not ready and definitely takes learnings from all of the existing 'ng2 polyfill' repos, but I could see each living on in its own way. We still use a1atscript at work.

from a1atscript.

0x-r4bbit avatar 0x-r4bbit commented on August 20, 2024

alright gotcha.

On Mon, Aug 31, 2015 at 4:29 PM, Tim Kindberg [email protected]
wrote:

No. The other one is not ready and definitely takes learnings from all of
the existing 'ng2 polyfill' repos, but I could see each living on in its
own way. We still use a1atscript at work.


Reply to this email directly or view it on GitHub
#22 (comment)
.

/pp

from a1atscript.

Related Issues (18)

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.