Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
How to use 2 controllers in angularjs
Ankit Shukla
Jul 26 2017 6:12 AM
225
Reply
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 ?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Problem in inserting data
Cascading drop down in table using Angular 4 typescript