title: Adding ng-href to a button in angularjs changes the position of the text inside the button
body: <p>I'm starting to learn Angularjs (using angular-material), and I have a little problem using ng-href.
  I made a Toolbar at the top of my web page, but as soon as I add the "ng-href" attribute to a button, the Text inside the Button isn't centered anymore:</p>
  
  <p><a href="http://i.stack.imgur.com/t2OFp.png" rel="nofollow">Example Image</a></p>
  
  <p>The first 2 Buttons have the ng-href tag added. The third one hasn't. Otherwise, they are exactly the same.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>angular.module('angular2',['ngRoute','ngMaterial','ngMessages'])
      .config(function ($mdThemingProvider,$routeProvider) {
          $mdThemingProvider.theme('default')
              .primaryPalette('blue')
              .accentPalette('blue');
          $routeProvider
              .when("/", {
                  templateUrl : "main.html"
              })
              .when("/test1", {
                  templateUrl : "test1.html"
              })
              .when("/test2", {
                  templateUrl : "test2.html"
              })
      })
      .controller('mainCtrl',function ($scope, $http, $mdDialog) {
  
      })
      ;</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.navButton{
      font-weight: bold;
      margin: 0px;
      height: inherit;
      width: 150px;
      border-radius: 0px;
      text-transform: none;
      border: solid;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en" ng-app="angular2"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Angular 2&lt;/title&gt;
  
      &lt;link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/angular_material/1.1.0/angular-material.min.css"&gt;
      &lt;link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic"&gt;
      &lt;link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"&gt;
      &lt;link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt;
      &lt;link rel="stylesheet" href="app.css"&gt;
  
  
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-animate.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-aria.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-messages.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular-route.js"&gt;&lt;/script&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/angular_material/1.1.0/angular-material.min.js"&gt;&lt;/script&gt;
  
      &lt;script src="app.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body ng-controller="mainCtrl"&gt;
  &lt;div layout="column"&gt;
      &lt;md-toolbar class="md-menu-toolbar" style="height: 64px"&gt;
          &lt;div layout="row" style="height: inherit"&gt;
              &lt;md-toolbar-filler flex="5" style="height: inherit" layout layout-align="center center"&gt;
                  &lt;md-icon class="material-icons md" style="font-size: 48px; height: 48px; width: 48px"&gt;mail_outline
                  &lt;/md-icon&gt;
              &lt;/md-toolbar-filler&gt;
              &lt;div flex layout="row" layout-align="start center" style="height: inherit"&gt;
                  &lt;md-button class="md-primary navButton" ng-href="#/"&gt;Main&lt;/md-button&gt;
                  &lt;md-button class="md-primary navButton" ng-href="#/test1"&gt;Test 1&lt;/md-button&gt;
                  &lt;md-button class="md-primary navButton"&gt;Test 2&lt;/md-button&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/md-toolbar&gt;
      &lt;div ng-view&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Somehow I couldn't manage to center the Text inside the Buttons after I added the ng-href attribute.</p>