你好,星期五我创建了一个新项目,我创建了一个新的演示页面
查看我在 plunker 中的编码,我已经在 plunker 中创建了所有代码
问题是我已经为 header.html 创建了一个演示页面检查
<a ui-sref="rohit-about">about</a>
<a ui-sref="home">home</a>
如果我点击关于而不是显示此错误
Error: Could not resolve 'rohit-about' from state 'index'
at Object.transitionTo (angular-ui-router.js:3074)
at Object.go (angular-ui-router.js:3007)
at angular-ui-router.js:4057
at angular.js:17105
at completeOutstandingRequest (angular.js:5073)
at angular.js:5335
你能看看我的代码并告诉我我的代码哪里写错了吗?
请帮我