Wednesday, December 11, 2013

ui-sref in Angular convention

This more or less creates an href tag which takes one to the noodle.salad controller while passing 42 as the id:

<a ui-sref="noodle.salad({id: 42})">

 
 

This suggests a "state transition" will be triggered as part of the process when one clicks the link that gets made.

No comments:

Post a Comment