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
Ankit Shukla
NA
681
116.8k
How to use 2 controllers in angularjs
Jul 26 2017 6:12 AM
Hello,
I am using controller like this (with dependency):
" angular.controller('StaffController', function ($scope, $http) { }"
for Inserting data.
I need to add 1 more controoker like this (without dependency):
" angular.controller('StaffController', function ($scope) { }"
how can I use both of them ?
Reply
Answers (
6
)
Problem in inserting data
Cascading drop down in table using Angular 4 typescript