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 ?


Puneet KankarRank #446 · 5.6K reputationPosted Jul 26, 2017, 2:38 AM EDT
Ankit ShuklaRank #2,120 · 672 reputationPosted Jul 26, 2017, 2:54 AM EDT
Ankit ShuklaRank #2,120 · 672 reputationPosted Jul 26, 2017, 3:11 AM EDT
Puneet KankarRank #446 · 5.6K reputationPosted Jul 26, 2017, 3:14 AM EDT
Puneet KankarRank #446 · 5.6K reputationPosted Jul 26, 2017, 3:18 AM EDT
Sahil SainiRank #1,646 · 933 reputationPosted Jul 27, 2017, 11:47 PM EDT