I have a basic problem and I can't understand why it isn't working
<div class="footer">
<div class="row writing">
<p>{{slogan}}</p>
</div>
{{send()}} //check if the function is there
<div class="container">
<form name="userForm" ng-submit="send()" novalidate>
<div class="form-group col-md-6">
<ng-form name="userMail">
<input name="mail" type="email" ng-model="varmail" class="form-control" placeholder="Your mail" required>
<!--<p class="help-block" ng-show="userMail.mail.$invalid">Valid Email Required</p>-->
</ng-form>
</div>
<div class="form-group col-md-6">
<ng-form name="userMarket">
<input type="text" ng-model="varmarket" class="form-control" placeholder="huhu"
required>
</ng-form>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary flat-butt">{{butLabel}}</button>
</div>
</form>
</div>
</div>
So I can see the function is there but the ng-submit doesn't fire anything. Notice that this is isolated scope and the function was passed in successfully.
Thank you.
UPDATE: I created a Plunk here and it doesn't work either http://plnkr.co/edit/CULSC4ajGfid25sEaT34?p=preview