[AngularJS] Re: set focus on a specific dynamically input on keydown

2017-01-11 Thread Sander Elias
Hi Esa, Usually, messing with the focus order in this way is frowned upon. It's better to let the browser handle that. There is a whole slew of usability issues concerned with this. Have a look at the solution I created here for you. It's

[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] Re: ngb-tabset with events(click) in angular2

2017-01-11 Thread Sander Elias
Hi Anil, Did you define "callMyFunction" on the ngb-tab-title components controller? If not, the click is probably handled by the ngb tabs system. you can add your own clickhandler inside a ngbTabTitle template like this: Profile As documented in the excellent ngBootstrap

[AngularJS] Re: Continue learn AngularJS 1, or Angular2 or even Angular4

2017-01-11 Thread Sander Elias
Hi Jake, Angular 1 will be supported for a while longer. How long? Well, the core team promised at least as long as usage of 1.x is bigger as 2.x. And probably quite some time after that. I suspect at least 1.7 and perhaps even a 1.8. Those versions will be mostly geared towards aligning with

[AngularJS] Re: upload video file using angular http (no plugin)

2017-01-11 Thread Sander Elias
Hi Jake, This question is answered in the history of this group. Uploading a video is no different from uploading any other file. As videos are usually a tad larger as most uploads, you might consider a 3rth party, that supports splitting and resuming. Although those are actually not that

[AngularJS] ngb-tabset with events(click) in angular2

2017-01-11 Thread Anil Mathew
I am using "ngb-tabset" to display tabs in the angular2. I am trying to add an event to a tab like below: I can't figure out why the above click function is not calling my function. Can someone please help? Thanks! -- You received this message because you

[AngularJS] Re: Continue learn AngularJS 1, or Angular2 or even Angular4

2017-01-11 Thread Jake K.
Hello, thanks for your answer. I've been playing around with angular 1.6 for a bit. Will support for angular 1 still exist? (e.g. will there be any versions higher than 1.6 in the future?) Thanks On Tuesday, January 10, 2017 at 4:30:44 AM UTC-8, Sander Elias wrote: > > Hi, > > Just learn

[AngularJS] upload video file using angular http (no plugin)

2017-01-11 Thread Jake K.
Hello, I would like to know if there is a way to upload a video file (.mp4, or any other format) using angular's $http, without using any third-party plugins. We can assume that *url* is given and the browser supports the FormData object Thanks!! -- You received this message because you

[AngularJS] set focus on a specific dynamically input on keydown

2017-01-11 Thread Esa Yletyinen
I need to create a directive which sets focus on a specific (here, the next) dynamically input when a specific key (e.g. enter) is pressed. E.g. I found this directive in the code created by the previous programmer working on my project, but it doesn't work with dynamically created inputs: