Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix(toast): fix minified toast controller injections
Browse files Browse the repository at this point in the history
closes #1434
  • Loading branch information
rschmukler committed Feb 9, 2015
1 parent 8a6eb7e commit 5c5106e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/toast/toast.js
Expand Up @@ -176,7 +176,7 @@ function MdToastProvider($$interimElementProvider) {
argOption: 'content',
methods: ['content', 'action', 'highlightAction', 'theme'],
options: /* @ngInject */ function($mdToast, $mdTheming) {
return {
var opts = {
template: [
'<md-toast md-theme="{{ toast.theme }}" ng-class="{\'md-capsule\': toast.capsule}">',
'<span flex>{{ toast.content }}</span>',
Expand All @@ -198,6 +198,7 @@ function MdToastProvider($$interimElementProvider) {
controllerAs: 'toast',
bindToController: true
};
return opts;
}
})
.addMethod('updateContent', function(newContent) {
Expand Down

0 comments on commit 5c5106e

Please sign in to comment.