Definition of Ui-Sref in Angular. Js?

Definition of Ui-Sref in Angular. Js?

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?

1 Answer

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.