Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I use Angular UI Bootstrap or plain Bootstrap 3? [closed]

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.

like image 526
Gabriel Smoljár Avatar asked Dec 15 '13 22:12

Gabriel Smoljár


People also ask

What is UI Bootstrap?

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.

What is $uibModalInstance in AngularJS?

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.

What is UIB modal?

$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.


2 Answers

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.

like image 41
Jerska Avatar answered Sep 29 '22 06:09

Jerska


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.

like image 56
JB Nizet Avatar answered Sep 29 '22 08:09

JB Nizet