I have been working with angularjs material now and I want to add scope inside of config file module. When I insert the scope it gives me error. Is there way can I add scope element like this.
app.config(function($mdThemingProvider, $scope) {
$scope.color = 'red'
$mdThemingProvider.theme('default')
.primaryPalette($scope.color)
};
I tried $provider method but i could not. Could you help me