I have a directive that is need of a variable that resides on it's parent controller
<hack-chart-controls counttime="vm.countInMinutes"></hack-chart-controls>
directive:
function hackChartControls($log, $parse) {
    var directive = {
        restriction: 'AE',
        scope: {
            counttime: '='
        },
        templateUrl: '/app/components/hackChartControls.html',
        link: link
    };
    return directive;
Based on this answer I was able to watch when that variable changes in the directive.
However, in the directive markup because I'm using the ControllerAs syntax I am using vm as my scope variable. For Example: 
<div class="close"><i class="fa fa-close" ng-click="vm.close()"></i></div>
prior to making the scope: { counttime: '=' } change these ng-click functions worked just fine because it inherited scope from the parent without isolating the scope.
How can I get the click function to work again?
 
     
    