I\'m trying to use the Angular2 Material Design components, and I can\'t get any of the layout directives to work. Example:
According to the examples, this should \"just
No need to write a new directive until Material2 provide us the LayoutModule.
You just have to import the angular layouts-attributes.css from angular1. It takes the old directive as css selector.
require('node_modules/angular-material/modules/layouts/angular-material.layouts-attributes.css')
for example the css for directive layout-align="end" it use the css selector: [layout-align="end"]