<div id="login-form" class="form">
    <h3>Login</h3>
    <fieldset>
        <form ng-submit="login()">
            <input id="username" placeholder="Username" class="form-control" type="text" ng-model="username"/>
            <input id="password" placeholder="Password" class="form-control" type="password" ng-model="password"/>
            <button type="submit" class="btn" ng-class="{shake: error}">Submit</button>
        </form>
    </fieldset>
</div>