12

I've been having some trouble getting a decent explanation of what ui-sref is actually doing in angular.

In HTML href is hyperlink reference, so does sref mean script reference?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Ben Casalino
  • 2,262
  • 5
  • 20
  • 28

1 Answers1

16

ui-sref stands for UI-Router state reference. It's a way to change states/state params (as defined in using the $stateProvider in a config block using the ui.router module for AngularJS. You can read the ui-sref documentation here.

Caleb Williams
  • 1,035
  • 5
  • 12