I am using ng-click and it fires twice when I apply it to SPAN tag.
HTML
In case of somebody having the same issue: This was my problem:
submit login
Both, the type="submit" and the ng-click="login()"triggered the login()-method in my controller.
So just use either the type=submit or the ng-click directive