Skip to content

Instantly share code, notes, and snippets.

@marianoqueirel
Last active October 28, 2016 18:51
Show Gist options
  • Save marianoqueirel/28c64b0a2df1adc7eddfdf4e8bbe7dae to your computer and use it in GitHub Desktop.
Save marianoqueirel/28c64b0a2df1adc7eddfdf4e8bbe7dae to your computer and use it in GitHub Desktop.
AFTER
<input type="button" class="button is-medium is-danger"
ng-click="$ctrl.reset(practitionerForm); practitionerForm.$setPristine()"
value="{{'practitioners.form.button.reset' | translate}}"
/>
BEFORE
<input type="button" class="button is-medium is-danger"
ng-click="$ctrl.reset(practitionerForm)"
value="{{'practitioners.form.button.reset' | translate}}"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment