Comments (7)
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.
Yeah we actually had some issue using $element in the class because of
that. The child components were not ready yet.
from a1atscript.
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.
@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.
So this repo here is deprecated?
from a1atscript.
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.
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)
- Single annotation per thing
- Angular 1.4.1 trying to access non-existing getters for hidden properties and getting undefined
- Mutiple instances of components are not able to use different binding strategies HOT 2
- Component 'properties' and 'events' should be an array
- Using the 'appInjector' property in @Component as an alias to adding module deps
- Simplified annotation defs
- Need to update @Directive so it acts like the ng2 annotation
- add a `host` property to @Directive
- Adding a 'directives' property in @View that acts as an alias to adding module deps
- ng-link directive does not work with @RouteConfig blocks HOT 1
- @Filter could be simpler
- JSMP - format global - not helping
- bower.json file references unbundled files
- jspm support HOT 5
- Is New Router required to use the Angular 2 syntax? HOT 5
- 'this' context in event handlers should be a reference to the class where the handler lives HOT 3
- bind-attribute being overwritten to undefined in angular 1.4.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a1atscript.