material icon indicating copy to clipboard operation
material copied to clipboard

toast will not work, when ng-app is specified on html

Open maxwellium opened this issue 12 years ago • 2 comments

toast is injected into dom via animate at $rootelement see here https://github.com/angular/material/blob/master/src/components/toast/toast.js#L116 if $rootelement is html as proposed in angular-seed https://github.com/angular/angular-seed/blob/master/app/index.html#L5 e.g., toast will be injected into dom, as a direct child to html, above head and body

maxwellium avatar Aug 26 '14 09:08 maxwellium

Thanks, makes sense.

ajoslin avatar Aug 26 '14 13:08 ajoslin

Fixed.

ajoslin avatar Aug 26 '14 16:08 ajoslin