AngularJS 1.2+ native directives for Bootstrap 3.
JavaScript HTML
Latest commit 5cc25d1 Aug 22, 2017 @mgcrea committed on GitHub Merge pull request #2252 from prashanth2692/datepicker-fix
fix(datepicker): Displaying Date for timezone UTC
Permalink
Failed to load latest commit information.
dist chore(release): cut the 2.3.12 release Jan 26, 2017
docs Enable scrolling of typeahead on $keydown when $typeahead container h… Oct 9, 2016
src Merge pull request #2252 from prashanth2692/datepicker-fix Aug 22, 2017
tasks chore(tests) - introduce angular 1.5 and 1.6 in Travis test grid Feb 20, 2017
test chore(tests) - introduce angular 1.5 and 1.6 in Travis test grid Feb 20, 2017
.bowerrc chore(release): initial commit Jan 6, 2014
.codeclimate.yml chore(code-climate): exclude demos Oct 25, 2015
.editorconfig chore(release): initial commit Jan 6, 2014
.eslintrc chore(npm): update devDeps Jun 10, 2016
.gitattributes chore(release): initial commit Jan 6, 2014
.gitignore chore(gulp): refactor test watch workflow Jan 16, 2016
.npmignore chore(yarn): add yarn.lock Oct 17, 2016
.travis.yml chore(tests) - introduce angular 1.5 and 1.6 in Travis test grid Feb 20, 2017
CONTRIBUTING.md chore(docs): add more instructions to setup development environment May 30, 2015
LICENSE.md chore(license): update copyright year (fixes #429) Feb 6, 2014
README.md chore(travis): fix travis phantomjs Feb 22, 2016
angular-strap.nuspec fix(nuget): revert erroneous version range Jan 14, 2015
bower.json chore(release): cut the 2.3.12 release Jan 26, 2017
gulpfile.js chore(npm): update devDeps Jan 21, 2016
index.js add index.js file Aug 5, 2016
ngfactory.json chore(ng): update ngfactory.json Oct 25, 2015
package.json chore(release): cut the 2.3.12 release Jan 26, 2017
yarn.lock chore(yarn): add yarn.lock Oct 17, 2016

README.md

AngularStrap

Bower Version Build Status devDependency Status Coverage Status Climate Status

Banner

AngularStrap is a set of native directives that enables seamless integration of Bootstrap 3.0+ into your AngularJS 1.2+ app.

  • With no external dependency except the Bootstrap CSS Styles, AngularStrap is lighter and faster than ever as it does leverage the power of ngAnimate from AngularJS 1.2+!

  • AngularStrap is tested against the latest patch release of the 1.2, 1.3, 1.4 and 1.5 branches.

  • If you don't want to use ngAnimate, you will have to include a tiny ngAnimate mock.

Documentation and examples

Communication

  • If you need help, use Stack Overflow. (Tag 'angular-strap')
  • If you'd like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Quick start

  • Install AngularStrap with Bower.
$ bower install angular-strap --save
  • Include the required libraries in your index.html:
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-animate/angular-animate.js"></script>
<script src="bower_components/angular-strap/dist/angular-strap.min.js"></script>
<script src="bower_components/angular-strap/dist/angular-strap.tpl.min.js"></script>
  • Inject the mgcrea.ngStrap module into your app:
angular.module('myApp', ['ngAnimate', 'mgcrea.ngStrap']);

Developers

Clone the repo, git clone git://github.com/mgcrea/angular-strap.git, download the latest release or install with bower bower install angular-strap --save.

You will need to have bower installed globally into your node environment.

$ npm install -g bower

AngularStrap is tested with karma against the latest stable release of AngularJS.

AngularStrap uses gulp@4.0, you must use the local gulp instance with $(npm bin)/gulp for it to work (or use an alias).

$ npm install
$ bower install
$ cd docs
$ bower install
$ cd ..
$ npm test
# or
$ npm run test:watch

You can build the latest version using gulp.

$ $(npm bin)/gulp build

You can quickly hack around (the docs) with:

  $ $(npm bin)/gulp serve

You can browse to http://localhost:9090/dev.html to work on a specific directive.

Contributing

Please submit all pull requests the against master branch. If your pull request contains JavaScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!

Authors

Olivier Louvignes

Copyright and license

The MIT License

Copyright (c) 2012 – 2015 Olivier Louvignes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.