You have to change your form like this;
<form action="" method="" ng-submit="somefunctionname">
<input type="test" name="email" id="email" ng-model="email" />
<input type="password" name="pass" id="pass" ng-model="pass"/>
<button type=""submit">login</button>
</form>
Then write your test case as above. I think this will help.