material icon indicating copy to clipboard operation
material copied to clipboard

angular.bootstrap Warnings

Open randallmeeker opened this issue 10 years ago • 7 comments

When an empty angular app is initiated via angular.boostrap()

I get all these warnings.

screen shot 2016-04-13 at 12 36 23 pm

randallmeeker avatar Apr 13 '16 17:04 randallmeeker

Please include the versions you are using (AngularJS and Angular Material). A link to a working example would be nice as well.

sdesmond avatar Apr 13 '16 18:04 sdesmond

I should have known to include code samples. Luckily you guys built one! The es6 branch of material-start will generate this error.

https://github.com/angular/material-start/tree/es6

It is using angular 1.5.3 and Material/Master.

I'm also seeing this in Material 1.0.7

randallmeeker avatar Apr 13 '16 19:04 randallmeeker

angular.bootstrap() has a required element which is the root of angular application. Closing this issue as invalid.

ThomasBurleson avatar Apr 20 '16 03:04 ThomasBurleson

I'm confused. If the use of bootstrap() in this manner is invalid, does that mean your es6 starter app needs to be modified?

randallmeeker avatar Apr 20 '16 13:04 randallmeeker

@randallmeeker - why are you reporting a material-start issue here on Angular Material?

ThomasBurleson avatar Apr 20 '16 13:04 ThomasBurleson

I was not sure it was a material-start issue. I have experienced this on different builds and I was using material-start as a code example as requested when submitting the issue. When you told me my issue was invalid my follow up was a way of asking if material-start then had a bug. I'm happy to open up there, or with a little more research make attempt a PR once I understand where the bug comes from.

randallmeeker avatar Apr 20 '16 14:04 randallmeeker

@randallmeeker - FYI, I updated angular/material-start:

  • master
  • es5-tutorial
  • es6

Please refresh your locals and try again. Also plz report material-start issues on the material-start repository. THx.

ThomasBurleson avatar Apr 20 '16 14:04 ThomasBurleson