UNPKG

angular-material-npfixed

Version:

The Angular Material project is an implementation of Material Design in Angular.js. This project provides a set of reusable, well-tested, and accessible Material Design UI components. Angular Material is supported internally at Google by the Angular.js, M

24 lines (19 loc) 709 B
angular .module('appDemoFontIconsWithLigatures', ['ngMaterial']) .controller('DemoCtrl', function( $scope ) { // Specify a list of font-icons with ligatures and color overrides var iconData = [ {name: 'accessibility' , color: "#777" }, {name: 'question_answer', color: "rgb(89, 226, 168)" }, {name: 'backup' , color: "#A00" }, {name: 'email' , color: "#00A" } ]; $scope.fonts = [].concat(iconData); // Create a set of sizes... $scope.sizes = [ {size:"md-18",padding:0}, {size:"md-24",padding:2}, {size:"md-36",padding:6}, {size:"md-48",padding:10} ]; });