How to invoke directive after file selection in controller?
问题 I want to display progress bar when user select file size from dropdown and click on startRecording then i want to invoke directive. So i am trying to hide progressbar initially and on file selection displaying a progressbar because its based on file selection i have a lot of logic in directive controller that is being executed. User should select file size first then progressbar directive should invoked. How can i acheive that task ? ctrl.js $scope.startRecording = function () { $scope