I\'m building an Angular application using Angular Material. One of the first steps in the application is that the user logs in. Next, the system loads from the backend the
This is easier now. You only have to omit the first step. In resume:
reload: generateThemes in themingProvider function (angular-material.js)Make the provider available to your controllers:
$provide.value('themeProvider', $mdThemingProvider);
Create your theme in your controller using themeProvider
themeProvider.reload($injector);