Skip to content

Override options reference #1

@OleksandrPopov-San4o

Description

@OleksandrPopov-San4o

Hello.
If you call 'in one moment' 'in one place' multiple times box() so model: { options } referencing into one object. Result of this calling 'success' and 'warning' and 'danger' in same time one by one => 3 boxes with 'danger' style.
I've found this solution, maybe you'll have another?

 resolve: { model: function () {  ... 
         options: angular.copy(options)  
} }

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions