Duct Tape and a Swiss Army Knife. Angular helpers for all your friends!
- Affix
- Autocomplete
- Canvas Spinner
- Datepicker
- Events
- File Upload
- Menu
- Modal
- Scroll Spy
- Spinner
- Table
- Tag Autocomplete
- Tag Input
- Time Input
- Tooltip
- Boolean
- Pluralize
- Timestamp
- Underscore String
Libraries are only needed for a few directives,
- jQuery (datepicker, table and file upload)
- jQuery UI (datepicker and table)
- jQuery File Upload (file upload directive)
- Underscore String (Underscore string filter)
You can install via Bower or download from Github
To install via bower, make sure you have bower installed and then run:
bower install angular-macgyver
Once you have MacGyver in your project, just include “Mac” as a dependency in your Angular application and you’re good to go.
angular.module(‘myModule’, [“Mac”])
MacGyver includes multiple scripts,
macgyver.js
- All directives, services and filters bundled togethermacgyver-core.js
- Utilities, events and all directives without 3rd party dependenciesmacgyver-datepicker.js
- Datepicker with jQuery UI datepickermacgyver-fileupload.js
- Fileupload directive with jQuery UI and jQuery fileuploadmacgyver-filters.js
- Filters except underscore string filtermacgyver-string-filter.js
- Underscore String filtermacgyver-table.js
- Table view
MacGyver requires a few node modules and bower packages for development environment.
The easiest way to install all requirements,
./init-project
npm install
sudo npm -g install bower
sudo npm -g install grunt-cli
bower install
To compile source code and run unit tests while developing:
grunt dev
Adrian Lee
Colin Kahn