A Pen by Nicholas Frye on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global ionic*/ | |
// for example usage, see http://codepen.io/premiumfrye/pen/pJMOZe | |
angular.module('pf-mobilePolyForm', []) | |
.directive('mobileFormPolyfill', function ($timeout, $parse) { | |
// keep track of our input fields for jumping to the next | |
var inputs = [], | |
// any other methods declared in template for ng-keydown that we'll want called | |
keydownFns = []; |