SatAj
SatAj

Reputation: 1979

Issue with rendering angular material components

I'm not able to render simple angular material components even after including all the necessary dependencies. HTML

<div ng-app="MyApp" layout="row">
<md-button>Button</md-button>
</div>

JS

angular.module('MyApp', ['ngMaterial']);

Here's the link with all the dependencies included: https://jsfiddle.net/rxby6cac/3/

Confused... What's the issue with this simple code?

Upvotes: 0

Views: 231

Answers (1)

The.Bear
The.Bear

Reputation: 5855

I've updated your fiddle... it was fine, the problem was the load type (see picture below). You have to change it to load type no wrap - <body>.
Additionally, I've note that your are using a angular material RC (Release Candidate) version. As a advice try to use a stable version (move to 1.1.3).

enter image description here

Upvotes: 1

Related Questions