Adds 'is editing' method.
Adds ngFocus directive to autofocus field when a scope attribute change.