TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Prakash
NA
258
77.9k
angualrjs SateProvider
Feb 4 2016 1:38 AM
hello experts,
.config(function($stateProvider, $urlRouterProvider){
$stateProvider
.state('main', {
url: "/main",
templateUrl: "templates/main.html",
controller: 'MainCtrl'
})
.state('page2', {
url: "/page2",
templateUrl: "templates/page2.html",
})
// if none of the above states are matched, use this as the fallback
$urlRouterProvider.otherwise('/main');
});
aboves are my states..ang below code is on my main.html..when i click on Go to page2..it can not change the url and not navigate on page2....when i change url manualy it works..
plz help thank you
<p>Hello World, how are you?<a href="#/page2.html">Go to page2</a></p>
Reply
Answers (
0
)
Cascading Dropdown is not working in mvc4?
how to do show the cascading value in Textbox