Are the Controllers in Dart singleton
问题 I know we can create singleton classes using the factory in Dart. But i happen to recall reading somewhere, classes registered using type(MyController) or type(MyServiceClass) happen to be singleton on their own. Is that true? If so, does it apply to just classes registered with type(MyController) or does it use the annotation @NgController, etc. How does that impact the service and factory classes we write. Also, where can i find a doc or link explaining the same. 回答1: Short answer: No,