Please help me with this issue, It was working without any issue, suddenly 
am getting this error when opening an md-dialog via angular

<div  flex="10">
    <span> 
     <md-button  ng-click="showAdvanced($event,widget)"  aria-label=
"Settings">
       <md-icon md-svg-src="/ic_settings_24px.svg"></md-icon>
     </md-button>
    </span>
</div>

*App.Js:*

$scope.showAdvanced = function(ev,widget) {
    $mdDialog.show({
      controller: 'chartSettingsCtrl',
      templateUrl: 'Views/chart_settings1.html',
      targetEvent: ev,
      resolve: {
          widget: function() {
            return widget;
          }
        }
    })


  };

*chartSettingsCtrl.js*

routerApp.controller('chartSettingsCtrl', ['$scope', '$timeout', 
'$rootScope','$mdDialog', 
 , function($scope, $timeout, $rootScope, $mdDialog ) {
}

What is the reason?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to