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

32 lines (27 loc) 986 B
angular .module('inputBasicDemo', ['ngMaterial', 'ngMessages']) .controller('DemoCtrl', function($scope) { $scope.user = { title: 'Developer', email: 'ipsum@lorem.com', firstName: '', lastName: '', company: 'Google', address: '1600 Amphitheatre Pkwy', city: 'Mountain View', state: 'CA', biography: 'Loves kittens, snowboarding, and can type at 130 WPM.\n\nAnd rumor has it she bouldered up Castle Craig!', postalCode: '94043' }; $scope.states = ('AL AK AZ AR CA CO CT DE FL GA HI ID IL IN IA KS KY LA ME MD MA MI MN MS ' + 'MO MT NE NV NH NJ NM NY NC ND OH OK OR PA RI SC SD TN TX UT VT VA WA WV WI ' + 'WY').split(' ').map(function(state) { return {abbrev: state}; }); }) .config(function($mdThemingProvider) { // Configure a dark theme with primary foreground yellow $mdThemingProvider.theme('docs-dark', 'default') .primaryPalette('yellow') .dark(); });