driftyco/ionic — pull request #1530 by calendee (2014-05-30 13:01:26+00:00)
Title: fix : focus on first input in popUp

instead of focusing on last input, focus on first input if exists or focus on last button.

RE : Issue #822

Signed-off-by: Justin Noel