Skip to content

cwheel/ng-bootstrap-material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7aa4399 · Oct 28, 2015

History

11 Commits
Feb 1, 2015
Feb 2, 2015
Oct 28, 2015
Oct 28, 2015

Repository files navigation

ng-bootstrap-material

Let Angular play nicely with bootstrap-material-design

ngBootstapMaterial, simple as it may be, provides glue between AngularJS and the bootstrap-material-design theme. Normally, you'd need to call $.material.init() in a controller to enable the material design effects. However, due the multitude of DOM modifications the library makes, calling it will 'disconnect' any bindings your controller may have. To get around this you can wrap bootstrap-material-design's functions in compile directives.

The directives are: material-input material-ripple material-checkbox material-radio

Use like so:

<input type="password" class="form-control floating-label" id="pass" placeholder="Password" ng-model="mypassword" material-input>

And like magic, your model won't be unbound!

Install with

bower install ng-bootstrap-material

About

Let Angular play nicely with bootstrap-material-design

Resources

License

Stars

Watchers

Forks

Packages

No packages published