Your code should work as expected. See the below code,
<div class="profilebuttoncontainer">
<button md-button class="temp-class">Click me!</button>
</div>
Note : Add the stylesheet reference at the component level using below line
styleUrls:[`....`]
LIVE DEMO