Questions tagged [angularjs-material]

Use this tag for any question related to "AngularJS Material", the material design framework for AngularJS. Do not use this tag for Angular Material, the newer library designed for use with Angular v2+. Use the angular-material tag instead.

The AngularJS Material project is an implementation of Material Design in AngularJS. It provides a set of reusable, well-tested, and accessible UI components based on the Material Design system.

Asking a question

Note: If you're asking a question concerning Angular Material (for Angular v2+), please use the tag instead.

More info and links about the project

505 questions
3
votes
2 answers

AngularJS: Show form input error on change / typing / immediately

If you delete the initial text that is in the input element in the example below, then it will not show an error until you blur the element. I want to have the input element underline turn red and the error show immediately when you delete the last…
3
votes
1 answer

$mdDialog, pass object on cancel

this.$mdDialog.show({ controllerAs: 'ctrl', resolve: { product: product }, controller:($mdDialog, product) => { close() => { $mdDialog.hide({productToUpdate: product} } }, templateUrl:…
Joe
  • 4,274
  • 32
  • 95
  • 175
3
votes
0 answers

AngularJS Material tables

Our team is using AngularJS Material (https://material.angularjs.org/), and need to create a couple tables. It doesn't look like that library has tables...which is pretty odd. Just wanted to check that we're not overlooking something. If it…
Dave
  • 1,257
  • 2
  • 27
  • 58
3
votes
1 answer

Console Error in $element, while using $mdDialog of AngularJS Material

I'm trying to solve this error that shows in the console, it only occurs on the server, in my localhost the modal works correctly. Here's the error (click to open its link): I have a view with the controller: .when('/aseguradora', { …
zerokira
  • 167
  • 10
3
votes
0 answers

Angularjs component without module definition, components interaction

I'm a newbie to angularjs, trying to add some functionality to angularjs codebase (angularjs 1.5 with angularjs material) I don't see any module definitions angular.module in the components. All components js files start with class nameController…
Mouafak
  • 61
  • 3
3
votes
1 answer

How to enable backspace on autocomplete field angular

I have some autocomplete fields in a form that doesn't clear the text when backspace key is pressed. I need to enable the backspace function but i dont know anything about angular js and I haven't find anything helpful online for this…
Stad
  • 216
  • 2
  • 11
3
votes
1 answer

Angular-material - Change separator in md-select multiple option

I have an md-select in my form with multiple options (same as demo in Angular Material site). It shows a comma separated list of selected options in its input field. Is there any way to change separator? (for example change comma to star or another…
hadi.mansouri
  • 828
  • 11
  • 25
3
votes
0 answers

How to detect angular material swipe event ends?

Thare are couple of md swipe events - top, down, left, right. I can pass to them some method from my controller but how to detect that this events are over, ends? I.e. i would like to show something in my view while i'm swiping my screen, when i…
Lukas
  • 7,384
  • 20
  • 72
  • 127
3
votes
1 answer

How to translate the md-datepickers "Invalid Date" message?

like the topic says: in my project i have a md-datepicker, which in some cases (which are intended) shows "Invalid Date". Is there any possibility to translate or change this text?
3
votes
1 answer

md-dialog not recognizing angular filter

I am using Angular Material's md-dialog feature but having some issues getting the date filter working. Maybe someone can spot it and let me know if they have any idea on how to make this work. I can see that {{item.presentation.end_time}} and…
3
votes
2 answers

Can we use Angular Material v1.x with Angular Js 2.x?

I am migrating my existing project from Angular 1.5 to Angular 2. I have used Angular Material 1.1.1 with Angular 1.5. Is there any way to keep using Angular Material v1.1.1 with Angular 2. The reason is, Angular Material is in beta right now and is…
B Bhatnagar
  • 1,706
  • 4
  • 22
  • 35
3
votes
3 answers

Changing Tab using Button Click

Tab One

Save &…
User
  • 1,334
  • 5
  • 29
  • 61
3
votes
1 answer

Angular: close ng-sidenav after a click on a element

Using angular & material, I have a sidenav on the left used to provide user's function (login, signup...). Working fine, but I want the bar to be closed automatically once the user clicks on a menu. Currently, the bar stays open. The sidebar…
Rolintocour
  • 2,934
  • 4
  • 32
  • 63
3
votes
1 answer

How can I use angular-material with CSP?

Our Content Security Policy does not allow unsafe-inline for styles. When I try to use angular-material in our application, it won't work right (missing styles) and I get a lot of errors logged in the DevTools. From what I can tell, this is due to…
Oliver Salzburg
  • 21,652
  • 20
  • 93
  • 138
3
votes
1 answer

AngularJS (Material) - Refreshing data in md-list after adding new object using md-dialog

I'm fairly new to the whole Angular world, but yesterday I ran into a problem I cannot seem to fix. As a prototype I'm creating a simple Task application which enables the user to create, view and delete tasks. A new task can be created by clicking…