edit patient page changes

used directives, submits, new controllers