Error: Could not resolve '/carica' from state 'home'


#1

Hello, I’m new to this and I’m trying to make a simple navigation of views, with simple buttons … but I can not make it work.
Where am I wrong?
PS: I wish there were no nav bar, but simple fullscreen views navigable via buttons.
codepen


#2

ui-sref needs a statename and not the url :wink:


#3

@coachdesign

As @bengtler noted: ui-sref=“carica” NOT ui-sref="/carica"


#4

Thank you, where can I find these specs? give me some links?


#5

Ref: http://robferguson.org/2015/07/19/using-ui-router-for-handling-routes-defining-states-and-sharing-data-between-views/


#6

very thanks to all :slight_smile: