I strongly recommend to avoid multiple actions written into HTML.
By following approach you lose:
- maintainability
- you can't debug
- code reuse
- code organization
Like @Gruff Bunny says, create one method in controller that you call on ng-click
.
Make your code simple.