At time of writing Angular UI Bootstrap is based on Twitter Bootstrap 2 while the latest version is Bootstrap 3. If I were to write an application in Angular.js TODAY, what UI framework should I use? Angular UI or just plain Bootstrap?
What pros and cons are there? Both in the long and short term.
Bootstrap UI is a consistent library of design patterns for building beautiful and intuitive web apps on Bootstrap, the most popular CSS framework on the web.
The official documentation of AngularJS does not contain anything that describes how $uibModalInstance.close works, in the following code fragment, scope.close is a method used to close the modal window and pass an object to the caller controller var app = angular. module('myApp'); app.
$uibmodal is a service to create modal windows. Uibmodal is the UI Bootstrap component written in AngularJS. It enables us to use Bootstrap in AngularJS. It provides directives for all bootstrap with some extra like, datepicker, timepicker etc. Install uibmodal as shown below.
As you can see on this link in the repo of Angular UI
(Bootstrap3 support), support for Bootstrap3
is almost ready.
You are talking about long-term, so I am assuming your application isn't going to production in the next month, so I would go with Bootstrap3
and the bootstrap3
branch of AngularUI
. But if you want something stable right now, I thing you should go with Bootstrap 2.3
and be prepared to update your code in the next months.
There is a bootstrap 3 branch going on in angular UI bootstrap, and almost everything has been migrated to bootstrap 3 in this branch. You can build this branch by yourself, and it's a matter of days or weeks before an official release that supports bootstrap 3 is made. You should go with it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With