1

I am using Angular2 with typescript. The dependencies are resolved using npm.

I want to use Modal dialog in my application. For this, I need to include angular-ui-bootstrap in my application. I need to angular-ui-bootstrap modal dialog in my application.

3
  • 2
    angular-ui-bootstrap is for AngularJS 1.x. But you can use ng-bootstrap for Angular 4.x (same idea, from the same team): ng-bootstrap.github.io/#/home. Google is your friend. Commented May 23, 2017 at 7:10
  • could you help me to show a dialog using ng-bootstrap (NgbModal) Commented May 23, 2017 at 10:58
  • The page I linked to has several demos. Just look at the code. You can also open the demos in a plunkre to play with them by yourself. Commented May 23, 2017 at 11:02

1 Answer 1

2

angular-ui-bootstrap is for AngularJS, for the new Angular you can try this one:

http://valor-software.com/ngx-bootstrap/#/

or this one:

https://ng-bootstrap.github.io/

The difference between those two project is discussed here: What is the difference between "ng-bootstrap" and "ngx-bootstrap"?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.