Created
June 7, 2014 17:46
-
-
Save charandas/6825b1f2d81dadd9fc89 to your computer and use it in GitHub Desktop.
Using $modal wrapper with extraParams
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var notification = | |
{ | |
title: 'We\'re sorry - we are unable to read your info!', | |
messages: [ | |
{ text: 'Please see a representative.', className: 'lead' }, | |
{ text: 'This screen will automatically timeout in 30 seconds.' }, | |
{ text: 'Thank you for visiting.' } | |
] | |
} | |
// for extraParams: notification, your ModalInstanceController can interpret a template using {{title}}, {{messages}} etc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment