AngularJS module to provide form input locking