Sharing Top Content from the Angular-sphere.

AngularJS Architecture: ui-router state params for sharing information

AngularJS Architecture: ui-router state params for sharing in... by @simpulton  #Angular 1.x

  • Right now, we have defined the bookmark state, but there’s nothing variable in the URL.
  • We learn how to define a state so that it has parameters in its definition and then read those parameters using the $stateParams service.
  • Now that we’ve defined this on the URL, I should be able to read that parameter from the state.
  • From we’re just going to start up by giving it a category’s URL. We’re going to adjust this in just a minute but bookmark state.
  • Passing that to the current category name, and then displaying it in the bookmarks template.

Read the full article, click here.


@eggheadio: “AngularJS Architecture: ui-router state params for sharing in… by @simpulton #Angular 1.x”


Let’s learn how to pass information from one state to another within Eggly. We learn how to define a state so that it has parameters in its definition and then read those parameters using the $stateParams service.


AngularJS Architecture: ui-router state params for sharing information

Comments are closed, but trackbacks and pingbacks are open.