I've created a new angular controller
angular.module('crmMailing').controller('crmMailingRecurScheduleCtrl', function($scope, $filter) {
I'd like to have access to the selectedMail object that other controllers (the ones built with .factory('crmMailingSimpleDirective'
) so I can use the ID in an API call but I don't have the chops to work out how to go about doing getting access.
Adding selectedMail to the call back params didn't work.
Defining the callback as EditMailingCtrl didn't work either.
Help a noob out?!
Here is the code in case you are interested in more context.