These are chat archives for angular/material

4th
Mar 2016
Matt Langston
@mattblang
Mar 04 2016 03:17
How should I use something like $mdDialog with a ng 1.5 component?
James Ireland
@siteshackinc
Mar 04 2016 07:18
seems md-button inherits other attribs on 1.0.6, before button size was good, but if in a md-content layout-padding, button inherits padding, wrapping the md-button in a <section></section> corrects the issue, this a new bug or something?
Felix Becker
@felixfbecker
Mar 04 2016 09:19
@mattblang Could you provide more detail?
Thomas Dehaeze
@tdehaeze
Mar 04 2016 10:09
I have a question about $mdBottomSheet. I'm inside testCtrl and I use $mdBottomSheet.show({controller: testCtrl}); And inside this controller I'm creating an object. And each time I open the bottom sheet, a new instance of the object is created. Should I use an other controller for the bottomsheet ? Thanks :)
jmls
@jmls
Mar 04 2016 11:14
anyone got any idea on the layout problem with ng-include ? It's a show-stopper for me atm
Matt Langston
@mattblang
Mar 04 2016 14:26
@felixfbecker I was originally thinking that my dialog would be a component itself, but I don’t think $mdDialog let’s you render a component.
Felix Becker
@felixfbecker
Mar 04 2016 17:40
@mattblang Just set template to <my-component></my-component>
Matt Langston
@mattblang
Mar 04 2016 17:41
@felixfbecker Hmm, I did try that but just got a blank modal. I will check again and see if I was doing something wrong.
Felix Becker
@felixfbecker
Mar 04 2016 17:41
But most of the time my dialogs are not very complicated so I mostly just use templateUrl and set scope to $scope
shotokai
@shotokai
Mar 04 2016 17:55
anyone have advise on animating ui-view transitions when using Angular Material? Running into an issue relating to content needing to be absolutely positioned so that elements coming in and out of the dom will overlap and fade. Absolutely positioning the elements messes up the width of the absolutely positioned element.