Watch Pre-recorded Live Shows Here
Why Join
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Gagan Gautam
2k
128
12.1k
how to inject controller in app.js using $stateprovider..
Jun 23 2016 1:18 AM
hi i am starter in angularjs. I want to inject controller in app.js using $stateProvider.
This is my code
$state('/home',{
url:'home',
templateurl :'home.html',
controller : ' homecontroller'
})
but controller does not load when we run tha application
Reply
Answers (
6
)
W2ui tabs toggle functionality not working
How to communicate over the Controller in AngularJS