0

我是 Angular 的新手,我尝试添加一个模式窗口:

我的努力 :

http://plnkr.co/edit/j9R70y6jEnQMeAklLEHU?p=preview

还有其他方法如何添加模式窗口,然后通过在 X 中按下将其关闭,例如通过指令?非常感谢您的帮助

4

1 回答 1

0

The first thing I might do if I were you is look into existing solutions. Depending on how much you're going to want to study angular, this might be a better faster solution if all you want is a modal now:

http://angular-ui.github.io/bootstrap/#/modal

There's also angularstrap:

http://mgcrea.github.io/angular-strap/#/modal

于 2013-09-11T16:43:02.230 回答