added functionality for working angulargrid without ng-class changes. Also added functionality for submit on enter for texts fields using directive