Just do it fine, controllers are just functions that are introduced using $ scope, services. When the controller is loaded, this function is called only once . You can do anything in it.
app.controller("yourController",function($scope, myService){
});
source
share