So, well, how on earth do you create a <md-button>
, you may ask?
All you have to do is to enter a <md-button>
, along with your text for the button in it.
index.html:
<div ng-app="MdButtonApp">
<md-content ng-controller="Controller">
<h2 class="md-title">Simple <code>md-button</code></h2>
<md-button>Some button</md-button>
</md-content>
</div>
app.js:
// Just initialize the app
angular.module('MdButtonApp', ['ngMaterial'])
.controller('Controller', function($scope) {})