var app = angular.module("EAG_Home", ["Controllers"]);

var app = angular.module("EAG_Home", ["Controllers"]);

app.directive('ngEnter', function () {
    return function (scope, element, attrs) {
        element.bind("keydown keypress", function (event) {
            if(event.which === 13 || event.which == 9) {
                scope.$apply(function (){
                    scope.$eval(attrs.ngEnter);
                });
                if(event.which != 9)
                  event.preventDefault();
            }
        });
    };
});
Support for enter/tab key to add new property line.
Support for enter/tab key to add new property line.
