user3024814 user3024814 - 10 months ago 67
AngularJS Question

Angular Material can't set md-card as an anchor

Is it possible to make the whole card a link in Angular material or is there another directive intended for this use case?


You can just put a ng-click on the card and perform your operation.Further you can style the card with hover effects to get the feel of a link.Like this :


<md-card ng-click="cardSelected()" class="cardAsLink">


  console.log("card Clicked");


  cursor: pointer;

  border : 1px solid blue;