Customizing Angularjs Modal popup

147 views
Skip to first unread message

Varun Krishna Parthasarathy

unread,
Feb 7, 2014, 4:51:26 AM2/7/14
to ang...@googlegroups.com
Hello everyone,
I wish to customize the default modal popup present in angularjs. I need to do the following
  1. Reducing the size of the popup
  2. closing it after some milliseconds say 5000 milliseconds.
Is this possible to do in angularjs? I am using this plnkr as an example.



Thanks,
Varun Krishna. P

Edmilson Lani

unread,
Feb 7, 2014, 6:04:55 AM2/7/14
to ang...@googlegroups.com


2014-02-07 Varun Krishna Parthasarathy <varunkri...@gmail.com>:

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.



--
Atenciosamente
Edmilson Lani

Aadithya C Udupa

unread,
Feb 7, 2014, 6:14:40 AM2/7/14
to ang...@googlegroups.com
I think 
$timeout(function() {
        $modalInstance.close($scope.selected.item)
    }, 2000);
must come outside $Scope.ok() function.

Regards,
Aadithya C Udupa

Varun Krishna Parthasarathy

unread,
Feb 7, 2014, 1:43:27 PM2/7/14
to ang...@googlegroups.com

Thank you for helping me out . I have a question . <tag ng-style="{'background-color:'black','width:'200px'}"> is this syntax correct ?

You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/RJHF0KzqxV8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.

Varun Krishna Parthasarathy

unread,
Feb 7, 2014, 1:43:27 PM2/7/14
to ang...@googlegroups.com

Thanks Aadithya.

You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/RJHF0KzqxV8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages