I am aware of Angular Material which helps implement Material Design specification for use in Angular single-page applications.
I'm however taking a look at Material Design Lite alternative to integrate with my Angular project. I will like to know the best way to go about integrating Material Design Lite with and AngularJS app.
The AngularJS Material library is a mature and stable product that is ready for production use. Developers should note that AngularJS Material works only with AngularJS 1.
Both Bootstrap and Material-UI can be applied successfully for certain project types, but if we're talking about the superb user experience created using the good-looking and consistent components, Angular Material would be the best choice.
Angular material and material design basically the same. Material design is abstract for mobile and web. Angular material is implemented for Angular. So if you use "Angular material" you are using "Material design".
Material Design Lite. Material Design Lite lets you add a Material Design look and feel to your websites. It doesn't rely on any JavaScript frameworks and aims to optimize for cross-device use, gracefully degrade in older browsers, and offer an experience that is immediately accessible.
Emjay's second answer worked for me. You can additionally reduce boilerplate by tossing the upgradeAllRegistered
method into Angular's run
block:
angular.module('app', []) .run(function ($rootScope,$timeout) { $rootScope.$on('$viewContentLoaded', ()=> { $timeout(() => { componentHandler.upgradeAllRegistered(); }) }) });
Disclaimer: I am the author of this project
You can use Material Design Lite
in your angular apps.
I believe you're looking for an angular wrapper on top of Material Design Lite.
There's this package under heavy development and it already has some directives implemented with configurable options (floating text fields) http://jadjoubran.github.io/angular-material-design-lite/
If you want a full UI written in angular, you can use Angular Material
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With