title: ionic login button not working in android
body: <p>Button is working when run on browser using <strong>ionic serve</strong> and <strong>ionic serve --lab</strong>  command. I am able to login in web browser and redirected to dashboard. 
  When I generate .apk file and run on android device....login button is not working. </p>
  
  <p>Not redirected to dashboard by click on login button with username and password.</p>
  
  <p>I have tried this reference: <a href="https://stackoverflow.com/questions/36873281/ionic-android-button-not-working">Ionic android button not working</a></p>
  
  <p>but still not get success...please give me any solution . </p>
  
  <p><strong>Login Template</strong></p>
  
  <pre><code>      &lt;li class="item-content"&gt;
                    &lt;div class="item-inner"&gt;
                      &lt;div class="item-input"&gt;
                         &lt;label class="item item-input"&gt;
                        &lt;input class="style login3" type="email" name="email" placeholder="E-mail" ng-model="user.email"&gt;
                        &lt;/label&gt;
                      &lt;/div&gt;
                    &lt;/div&gt;
                  &lt;/li&gt;
                  &lt;li class="item-content"&gt;
                    &lt;div class="item-inner"&gt;
                      &lt;div class="item-input"&gt;
                         &lt;label class="item item-input"&gt;
                        &lt;input class="style login3" type="password" name="password" placeholder="Password" ng-model="user.pwdForLogin"&gt;
  &lt;/label&gt;                   
                        &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;/li&gt;
  
                         &lt;/div&gt;
                           &lt;button ng-click="signIn(user)" &gt;
                        Sign In
                     &lt;/button&gt;     
  </code></pre>
  
  <p><strong>App.js</strong></p>
  
  <pre><code>// State to represent Login View
      .state('login', {
          url: "/login",
          templateUrl: "templates/login.html",
          controller: 'LoginCtrl',
          resolve: {
              // controller will not be loaded until $waitForAuth resolves
              // Auth refers to our $firebaseAuth wrapper in the example above
              "currentAuth": ["Auth",
                  function (Auth) {
                      // $waitForAuth returns a promise so the resolve waits for it to complete
                      return Auth.$waitForAuth();
          }]
          }
      })
  </code></pre>
  
  <p>Please help me....</p>