I am new to Angularjs and Ionic. I am currently building my first app and I want to know, is there any way I can inject expressions in the main controller and use them in all the other controllers.
So instead of typing $scope, $http, $Ionicpopup in every controller. I want to put that in my main controller and use them in all other controllers.
var app=angular.module('app.controllers', []);
Can you tell me what this is called?