[英]How to open a View on button click in window.open as a popup in angularJs
Basically I am new in angularJs do not know what approach to be follow in opening a View in a popup window on button click. 基本上,我是angularJ的新手,不知道在单击按钮时在弹出窗口中打开视图时应遵循的方法。 I am using hybrid application angular js with MVC.
我在MVC中使用混合应用程序angular js。 Not using routing concept in angularJs.
在angularJs中不使用路由概念。 Can anyone help me.
谁能帮我。
You can use the $modal service of angularJS and pass you view as template; 您可以使用angularJS的$ modal服务并将您的视图作为模板传递;
$modal.open({
template: Template,
size: 'md'
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.