-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Project Philosophy
We are aiming at providing a set of AngularJS directives based on Bootstrap's markup and CSS. The goal is to provide native AngularJS directives without any dependency on jQuery or Bootstrap's JavaScript. It is often better to rewrite an existing JavaScript code and create a new, pure AngularJS directive. Most of the time the resulting directive is smaller as compared to the original JavaScript code size and better integrated into the AngularJS ecosystem.
All the directives in this repository should have their markup externalised as templates (loaded via templateUrl
). In practice it means that you can customize directive's markup at will. One could even imagine providing a non-Bootstrap version of the templates!
Each directive has its own AngularJS module without any dependencies on other modules or third-party JavaScript code. In practice it means that you can just grab the code for the directives you need and you are not obliged to drag the whole repository.
Directives should work. All the time and in all browsers. This is why all the directives have a comprehensive suite of unit tests. All the automated tests are executed on each checkin in several browsers: Chrome, Chrome Canary, Firefox, Opera, Safari, IE9.
In fact we are fortunate enough to benefit from the same testing infrastructure as AngularJS.