Re: [AngularJS] Re: Construct a full URL for a route, with params, for use in launching a new browser tab

2017-01-12 Thread Brian Kotek
Well, I was hoping for something that would automatically handle appending the route and URL params using the proper syntax for the current location strategy. Like I said, I know I can do this myself, but before I took the time, I thought I'd see if there was something built-in that exposes this.

[AngularJS] Construct a full URL for a route, with params, for use in launching a new browser tab

2017-01-11 Thread Brian Kotek
I've got a project where users need to be able to load an app, then open new browser tabs to different routes in the same app (to allow placement of different tabs on multiple monitors). Obviously, triggering a route change in the same browser tab is easy. But I've looked through the Router

[AngularJS] [angular 2] Is it necessary to dispose of Observable subscriptions in ngOnDestroy()?

2016-04-15 Thread Brian Kotek
One thing that I'm not clear on is whether I'm required to manually dispose Observable subscriptions I set up in a component. For example say I do this in ngOnInit(): this.someService.somethingChanged.subscribe( ( value ) => this.onSomethingChanged( value ) ); Am I required to store that