Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:55
    jeromflo commented #44307
  • 08:53
    jeromflo edited #44307
  • 08:52
    jeromflo edited #44307
  • 08:46
    jeromflo opened #44307
  • 07:48
    renovate[bot] edited #44152
  • 07:32
    bamvans starred angular/angular
  • 07:26
    benreinhardt97 starred angular/angular
  • 07:26
    RaulGal starred angular/angular
  • 06:42
    alan-agius4 commented #44286
  • 06:39
    alan-agius4 commented #44286
  • 06:29
    vaibhavshinde09 starred angular/angular
  • 05:35
    jihyundev starred angular/angular
  • 05:20
    JordanSDAllen opened #44306
  • 05:03
    AndrewKushnir commented #44219
  • 05:00
    renovate[bot] synchronize #44152
  • 04:59

    renovate[bot] on all-minor-patch

    build: update all non-major dep… (compare)

  • 04:59
    renovate[bot] edited #44152
  • 04:59
    AndrewKushnir commented #44301
  • 04:58
    AndrewKushnir labeled #44301
choeller
@choeller
@gaiottino hmm, I see... do you have a plnkr of that?
@fxck I already watched it :grimacing: I guess I understand most of it, but what I still really don't get is that Observable.create() syntax
Daniel
@gaiottino
Is this a bug? Mouse move the red square. Should check be done all the time? Makes using external libs that listen to mouse movements more or less unusable. http://plnkr.co/edit/btcVt7K9zIxaAxJrQ2ef?p=preview
ROne
@ravi-mone
Hello Team,
For me 'Batarangle' debbuger tool is not working, I am using ubuntu machine
Do any body have suggestions of other debuggers if any
Ricardo Reis
@rjmreis
@choeller thats an arrow function, new in ES6
Eric Martinez
@ericmartinezr
@gaiottino is not a bug, it's just the change detector doing its job. The same happens with ngAfterViewChecked. When you listen to an event it has to assume you're changing something, so it runs part of the lifecycle hooks to check it.
ROne
@ravi-mone
@ericmartinezr , can you please give the order of execution of life cycle hooks of component and route hooks , some thing as explained with angular1
http://stackoverflow.com/questions/20663076/angularjs-app-run-documentation
Eric Martinez
@ericmartinezr
I don't know the exact order. Just put a console log in each one and you'll see it
ROne
@ravi-mone
I am going through the documents, but little confusing,
where one or more of the hooks seems like performing same task
Not a bad idea, I will do that console one, thanks
Oleg Korsak
@kamikaze
looks like router has a problem in angular2
please help. Open this site: http://market.bixority.com/ and see that upper "Sign up" link works fine and inner Signu up link doesn't
but... if you will open debugger in browser
and place breakpoint in router.js -> RouterLink.set function
and then will just press "continue"
(for 2 times as I know)
the link will become fine and clickable
the same problem occurs when you place this link into signin-page body directly
any ideas?
James Pacileo
@jamespacileo
Hey guys, just wanted to drop a line... I LOVE ANGULAR 2! whheeeeee!! :smile:
Daniel
@gaiottino
@ericmartinezr but it doesn't trigger on mousemove all the time and the. Why does Angular assume I want to take action when the listening is done by an external script?
Eric Martinez
@ericmartinezr
because afaik jquery registers events using addEventListener
Brandon
@brandonroberts
@kamikaze I don’t see any of your links working inside the route. What’s your route config and routerLink look like?
Alexander Wieser
@crystalbyte
Is there a way to catch a 404 error when using http.get ? I tried using observable.catch(...), unfortunately it is never invoked ?
Eric Martinez
@ericmartinezr
@crystalbyte just add an error function to catch the error.
http.get('...').subscribe(res => ..., err => /* reaches here when there's some error */)
Alexander Wieser
@crystalbyte
@ericmartinezr Simple enough, thanks ;)
Eric Martinez
@ericmartinezr
:+1:
Soroush Gholamzadeh
@s-o-r-o-u-s-h
I'm in middle of Angular 1 project, And I tried to avoid directives,Of course sometimes I had to give up. But now that I'm being familiar with angular2 and it's awesomeness, I really would like to replace it with Angular1. Do you think I should do it as soon as possible or wait for a stable release of Angular2?
PaulMartin
@paul-martin123
Are there any examples of parallel routing? I mean, is there a way to insert multiple components into a base component with one route definition?
Alexander Wieser
@crystalbyte
@paul-martin123 You can inject one component into another.
Chad Autry
@chad-autry
@crystalbyte I think he means something like have the header and footer be route based, but content in between be static.
PaulMartin
@paul-martin123
@crystalbyte I'm familiar with nested routing, but is there a way to insert two components with one router link?
Parallel routing was a major concern for AngularJS 1.x, and I've read docs that say it's possible with Angular2. But I haven't seen any code for it.
Alexander Wieser
@crystalbyte
@paul-martin123 I do use multiple components on a single route by simply adding them into the html source of the component.
<div>
<person-picker></person-picker>
</div>
Ken Rimple
@krimple
Anybody see this: "Cannot resolve all parameters for Router(?, ?, ?). Make sure they all have valid type or annotations." when using routing? I'm injecting ROUTER_PROVIDERS in the bootstrap method, and it had been working. What should I be checking for? The stack trace is not helping me out with any useful info to me... This started happening when I added another component to route to.
Alexander Wieser
@crystalbyte
@krimple Mind sharing some code ?
ROne
@ravi-mone
@krimple , I feel you should pass directives: [ROUTER_DIRECTIVES] in your component where routes are defined, Guys Am I correct
James Pacileo
@jamespacileo
Newbie question... Can a Components be selectively popped in a web worker or does it need to be the whole app?
Ken Rimple
@krimple
@ravi-mone - yep. I am doing that.
Getting component gist going.
Ken Rimple
@krimple
Finally, here it is. The files are in subdirectories as expected but gist doesn't allow it. Stack trace and bootstrap at bottom. https://gist.github.com/krimple/91189eb7a602996ca09c
@jamespacileo - good talk on this from Jason Teplitz - https://www.youtube.com/watch?v=Kz_zKXiNGSE - he shows what is / isn't in the web worker side of the stack and how you use it. Sample code too on github.
James Pacileo
@jamespacileo
@krimple awesome thank you! :smile: :+1:
Ken Rimple
@krimple
@jamespacileo Any time!
Robin Joseph
@robinjoseph08
I'm having a little trouble getting routerLink to work in a nested component. I have a root component that has a RouterConfig setting up my routes and the template is only <router-outlet></router-outlet>. In the child components, I'm trying to use <a [routerLink]="['Comp']"> while no errors get thrown, the href isn't generated. What's interesting though is that if I inject the Router in the child component's class, I can call this._router.navigate(['Comp']) and it works just fine. Am I just missing something?
Brandon
@brandonroberts
@robinjoseph08 routing in child components is relative. Try <a [routerLink]=“[‘../Comp']”> or <a [routerLink]=“['/Comp']”>