title: What is the equivalent to $stateProvider from angularJS in angular 12?
body: <p>I'm migrating code from AngularJS to Angular 12, what's equivalent to <code>$stateProvider</code> in angular 12?</p>
  <p>I see that <code>$stateProvider</code> related to ui-router, can I use something from <code>AppRoutingModule</code> that gives the same functionality?</p>