Questions tagged as 'angular-material'

1
answer

Error: $ injector: modulerr Module Error - I can not resolve [closed]

I've been struggling with this error for a long time and I do not find a solution, I'm counting on someone to help. Single file. For unsuccessful testing. <html lang="en"> <head> <meta name="viewport" content="width=dev...
asked by 11.09.2017 / 15:43
2
answers

Error with property checked and value in Angular

I'm trying to use a code to get the value of the selected radio button and I'm encountering the following errors:    The 'checked' property does not exist in type 'HTMLElement'.    The 'value' property does not exist in the NodeListOf...
asked by 09.11.2018 / 02:57
1
answer

Message no component Snackbar - Angular 4 Material

I am using the library of angular material and I have decided to use the Component of Snackbar a>. One of the Snackbar parameters is the message parameter. My intention is to pass within the message instead of a string the...
asked by 19.11.2017 / 20:14
3
answers

Validate three fields

I have three fields and I have to validate by sending the message ng-mensage of the first field whenever a value is changed and preventing the form from being submitted. The sum of the field número 2 and número 3 can not...
asked by 19.09.2017 / 09:00
0
answers

How to change the AngularJS avatar using storage image? [closed]

Creating an app with AngularJS and would like the user to choose a photo of their storage to insert as an image of their profile, that is, I want to search the image in the internal memory. Is it possible? $scope.pegaArquivo = function (files)...
asked by 03.11.2016 / 03:29
1
answer

Uncaught Error: [$ injector: modulerr] for angular-material.js

I'm having a problem using Angular Material JS . I have my index with the references for the Angular-Material project. <head> <!-- AngularJS Material CSS using GitCDN to load directly from 'bower-material/master' -->...
asked by 06.08.2017 / 22:03
1
answer

Change dynamic class in mdDialog.show

I need to change the class of the OK button, by default it is dynamic and has been set to 'md-primary'. $mdDialog.show( $mdDialog.alert() .parent(angular.element(document.querySelector('#popupContainer'))) .ti...
asked by 22.11.2016 / 12:47
1
answer

Unselect Radio Button of Angular Material

Hello, I have a problem with Angular. I want my button select of the Material Angle to be unchecked when the next function is called, but I have no idea how to do it, could anyone help me ?. I'll put the codes here below. Function code unch...
asked by 07.11.2018 / 21:29
2
answers

How does the Grid System work in Angular Material Design?

In the documentation of the Angular Material Design has a component called Grid List, which, I imagine, is the design part of the layout, but it only has two very simple examples and I could not understand its usage, so ... I'm right, is t...
asked by 07.07.2018 / 23:51
1
answer

Customize Angular Material Menu

I need to put a margin in this menu when clicked, I want under the button, can you use a hierarchy to not affect the original classes of the component? angular .module('MyApp',['ngMaterial', 'ngMessages', 'material.svgAssetsCache'])...
asked by 13.03.2017 / 21:23