Need help with angular-materialize?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

krescruz
405 Stars 135 Forks MIT License 325 Commits 26 Opened issues

Description

Angularjs directives for Materialize CSS Framework https://github.com/Dogfalo/materialize

Services available

!
?

Need anything else?

Contributors list

angular-materialize

angular-materialize in action http://krescruz.github.io/angular-materialize/

This library is a set of AngularJS directives which make it possible to use features from Materialize with AngularJS. It is basically a set of directives, which calls the JavaScript functions defined by Materialize. This means that you still need to include Materialize for this to work.

This project is not to be confused with the Angular Material project, which is a standalone Material design implementation for AngularJS.

A minimal example of how to set up this project can be found here: http://krescruz.github.io/angular-materialize/#getting-started

You can download this project through our

bower package
, or
npm package
. Or just use the cdn:


Angular looks for jQuery and if no exists, it uses jQlite. Some directives of

angular-materialize
uses some jQuery methods, so be sure that Angular uses it instead of jQlite. It can be done by including jquery before you include angular on your view

If you are using Webpack, it can also be done by adding the following lines in your config:

Use with Webpack
//webpack.config.js
plugins: [
    new webpack.ProvidePlugin({
      'window.jQuery': 'jquery'
    })
  ],

then simply add to your module:

javascript
// yourModule.js
// ES6 style
import angularMaterialize from 'angular-materialize';
// OR commonjs style
var angularMaterialize = require('angular-materialize');
angular.module('yourModule', [angularMaterialize]);

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.