Skip to content

wwwmarcos/angular-material-facade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-material-facade

Facade for angular-material components

under construction

Install

yarn add angular-material-facade

Why?

Compare yourself:

This:

<md-input-container class="md-block">
  <label>Description</label>
  <input md-maxlength="30" required md-no-asterisk name="description" ng-model="project.description">
  <div ng-messages="projectForm.description.$error">
    <div ng-message="required">This is required.</div>
    <div ng-message="md-maxlength">Thats too long.</div>
  </div>
</md-input-container>

Or:

<input-text name="description" is-required="true" model="vm.description" label="Description"></input-text>

¯_(ツ)_/¯

Available components: